public abstract class TrackingTypeArchiver extends Object
TrackingArchive by splitting a complex type into primitives.| Modifier | Constructor and Description |
|---|---|
protected |
TrackingTypeArchiver()
Initializes a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
abstract List<ArchivedProperty> |
getPrimitives()
Gets the primitives composing the type archived by this instance.
|
abstract Object |
retrieve(Object[] primitiveArray,
int startIndex)
Retrieves a value from the specified array.
|
abstract void |
store(Object value,
Object[] primitiveArray,
int startIndex)
Stores the specified value in the specified array.
|
protected TrackingTypeArchiver()
@Nonnull public abstract List<ArchivedProperty> getPrimitives()
public abstract void store(Object value, @Nonnull Object[] primitiveArray, int startIndex)
Primitives (get), starting at
startIndex.value - The value to store in the array.primitiveArray - The array in which to store the primitives composing value.startIndex - The first index at which to store the primitives composing value.public abstract Object retrieve(@Nonnull Object[] primitiveArray, int startIndex)
Primitives (get), starting at
startIndex, and returns the value composed from the retrieved
primitives.primitiveArray - The array from which to retrieve the primitives composing the value.startIndex - The first index from which to retrieve the primitives composing the value.