00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef COH_SPARSE_ARRAY_HPP
00017 #define COH_SPARSE_ARRAY_HPP
00018
00019 #include "coherence/lang.ns"
00020
00021 #include "coherence/util/AbstractSparseArray.hpp"
00022
00023 COH_OPEN_NAMESPACE2(coherence,util)
00024
00025
00026
00027
00028
00029
00030
00031 class COH_EXPORT SparseArray
00032 : public cloneable_spec<SparseArray,
00033 extends<AbstractSparseArray> >
00034 {
00035 friend class factory<SparseArray>;
00036
00037
00038
00039 protected:
00040
00041
00042
00043 SparseArray();
00044
00045
00046
00047
00048 SparseArray(const SparseArray& that);
00049
00050
00051
00052
00053 protected:
00054
00055
00056
00057 virtual AbstractSparseArray::Node::Handle instantiateNode(
00058 int64_t lKey, Object::Holder ohValue);
00059 };
00060
00061 COH_CLOSE_NAMESPACE2
00062
00063 #endif // COH_SPARSE_ARRAY_HPP