Package nom.tam.util.type
Interface PrimitiveType<B extends Buffer>
- All Known Implementing Classes:
BooleanType
,ByteType
,CharType
,DoubleType
,FloatType
,IntType
,LongType
,PrimitiveTypeBase
,ShortType
,StringType
,UnknownType
public interface PrimitiveType<B extends Buffer>
-
Method Summary
Modifier and TypeMethodDescriptionvoid
appendBuffer
(B buffer, B dataToAppend) void
appendToByteBuffer
(ByteBuffer byteBuffer, B dataToAppend) asTypedBuffer
(ByteBuffer buffer) int
bitPix()
convertToByteBuffer
(Object array) void
void
void
boolean
boolean
is
(PrimitiveType<? extends Buffer> d) newArray
(int length) newBuffer
(int length) newBuffer
(long length) Class
<?> void
void
int
size()
int
sliceBuffer
(B buffer) char
type()
Class
<?>
-
Method Details
-
appendBuffer
-
appendToByteBuffer
-
asTypedBuffer
-
bitPix
int bitPix() -
bufferClass
-
convertToByteBuffer
-
getArray
-
getArray
-
getArray
-
individualSize
boolean individualSize() -
is
-
newArray
-
newBuffer
-
newBuffer
-
primitiveClass
Class<?> primitiveClass() -
putArray
-
putArray
-
size
int size() -
size
-
sliceBuffer
-
type
char type() -
wrap
-
wrapperClass
Class<?> wrapperClass()
-