19 #ifndef HAZELCAST_CLIENT_DATAARRAY_H_
20 #define HAZELCAST_CLIENT_DATAARRAY_H_
24 #include "hazelcast/util/Util.h"
25 #include "hazelcast/client/exception/IllegalArgumentException.h"
26 #include "hazelcast/util/Comparator.h"
27 #include "hazelcast/client/serialization/pimpl/SerializationService.h"
28 #include "EntryArray.h"
38 virtual size_t size()
const = 0;
48 virtual const T *
get(
size_t index) = 0;
57 virtual std::auto_ptr<T>
release(
size_t index) = 0;
72 #endif //HAZELCAST_CLIENT_DATAARRAY_H_
virtual const T * operator[](size_t index)=0
Please note that this operation MAY (if the de-serialization is not done before) be costly due to de-...
virtual size_t size() const =0
Definition: DataArray.h:33
virtual std::auto_ptr< T > release(size_t index)=0
Will release the de-serialized data.