Package nom.tam.util.type
Class UnknownType
- java.lang.Object
-
- nom.tam.util.type.PrimitiveTypeBase<java.nio.Buffer>
-
- nom.tam.util.type.UnknownType
-
- All Implemented Interfaces:
PrimitiveType<java.nio.Buffer>
class UnknownType extends PrimitiveTypeBase<java.nio.Buffer>
-
-
Field Summary
-
Fields inherited from class nom.tam.util.type.PrimitiveTypeBase
COPY_BLOCK_SIZE
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUnknownType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intsize(java.lang.Object instance)currently the only individual size primitive so, keep it simple-
Methods inherited from class nom.tam.util.type.PrimitiveTypeBase
appendBuffer, appendToByteBuffer, asTypedBuffer, bitPix, bufferClass, convertToByteBuffer, getArray, getArray, getArray, individualSize, is, newArray, newBuffer, newBuffer, primitiveClass, putArray, putArray, size, sliceBuffer, type, wrap, wrapperClass
-
-
-
-
Method Detail
-
size
public int size(java.lang.Object instance)
Description copied from class:PrimitiveTypeBasecurrently the only individual size primitive so, keep it simple- Specified by:
sizein interfacePrimitiveType<java.nio.Buffer>- Overrides:
sizein classPrimitiveTypeBase<java.nio.Buffer>- Parameters:
instance- the object to calculate the size- Returns:
- the size in bytes of the object instance
-
-