Interface Offset<T>
- Type Parameters:
T- the type of the offset
- All Superinterfaces:
Serializable
Generic offset without a concrete type
-
Field Summary
Fields inherited from interface Serializable
BYTES, TYPE_FILE, TYPE_INTEGER, TYPE_LONG, TYPE_STRING -
Method Summary
Methods inherited from interface Serializable
serialize
-
Method Details
-
update
-
getValue
-
getValue
Gets the offset value converting it to the given type- Parameters:
tClass- type to convert the value to- Returns:
- the offset value or null if it cannot be converted
-
serialize
Description copied from interface:SerializableSerializes this offset into a buffer of bytes- Specified by:
serializein interfaceSerializable- Returns:
- a ByteBuffer instance with the serialized contents of this object
-