|
virtual size_t | size () const =0 |
|
virtual const T * | get (size_t index)=0 |
| Please note that this operation MAY (if the de-serialization is not done before) be costly due to de-serialization. More...
|
|
virtual std::auto_ptr< T > | release (size_t index)=0 |
| Will release the de-serialized data. More...
|
|
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-serialization. More...
|
|
Please note that this operation MAY (if the de-serialization is not done before) be costly due to de-serialization.
It will cache the de-serialized data.
- Parameters
-
index | The index of the desired item in the array. |
- Returns
- Deserializes the data and returns the pointer for the newly created object for the data at the provided index.
- Exceptions
-
IllegalArgumentException | If provided index is greater than the maximum array index. |
Please note that this operation MAY (if the de-serialization is not done before) be costly due to de-serialization.
It will cache the de-serialized data.
- Parameters
-
index | The index of the desired item in the array. |
- Returns
- Deserializes the data and returns the pointer for the newly created object for the data at the provided index.
- Exceptions
-
IllegalArgumentException | If provided index is greater than the maximum array index. |
Will release the de-serialized data.
- Parameters
-
index | The index of the desired item in the array. |
- Returns
- Deserializes the data and returns the pointer for the newly created object for the data at the provided index.
- Exceptions
-
IllegalArgumentException | If provided index is greater than the maximum array index. |
- Returns
- Returns the number of data items
The documentation for this class was generated from the following file: