Package nom.tam.util.type
Class IntType
- java.lang.Object
-
- nom.tam.util.type.PrimitiveTypeBase<java.nio.IntBuffer>
-
- nom.tam.util.type.IntType
-
- All Implemented Interfaces:
PrimitiveType<java.nio.IntBuffer>
class IntType extends PrimitiveTypeBase<java.nio.IntBuffer>
-
-
Field Summary
Fields Modifier and Type Field Description private static intBIT_PIXprivate static intSIZE-
Fields inherited from class nom.tam.util.type.PrimitiveTypeBase
COPY_BLOCK_SIZE
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedIntType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendBuffer(java.nio.IntBuffer buffer, java.nio.IntBuffer dataToAppend)java.nio.IntBufferasTypedBuffer(java.nio.ByteBuffer buffer)voidgetArray(java.nio.IntBuffer buffer, java.lang.Object array, int offset, int length)java.lang.ObjectnewArray(int length)voidputArray(java.nio.IntBuffer buffer, java.lang.Object array, int length)java.nio.IntBuffersliceBuffer(java.nio.IntBuffer buffer)java.nio.IntBufferwrap(java.lang.Object array)-
Methods inherited from class nom.tam.util.type.PrimitiveTypeBase
appendToByteBuffer, bitPix, bufferClass, convertToByteBuffer, getArray, getArray, individualSize, is, newBuffer, newBuffer, primitiveClass, putArray, size, size, type, wrapperClass
-
-
-
-
Field Detail
-
BIT_PIX
private static final int BIT_PIX
- See Also:
- Constant Field Values
-
SIZE
private static final int SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
appendBuffer
public void appendBuffer(java.nio.IntBuffer buffer, java.nio.IntBuffer dataToAppend)- Specified by:
appendBufferin interfacePrimitiveType<java.nio.IntBuffer>- Overrides:
appendBufferin classPrimitiveTypeBase<java.nio.IntBuffer>
-
asTypedBuffer
public java.nio.IntBuffer asTypedBuffer(java.nio.ByteBuffer buffer)
- Specified by:
asTypedBufferin interfacePrimitiveType<java.nio.IntBuffer>- Overrides:
asTypedBufferin classPrimitiveTypeBase<java.nio.IntBuffer>
-
getArray
public void getArray(java.nio.IntBuffer buffer, java.lang.Object array, int offset, int length)- Specified by:
getArrayin interfacePrimitiveType<java.nio.IntBuffer>- Overrides:
getArrayin classPrimitiveTypeBase<java.nio.IntBuffer>
-
newArray
public java.lang.Object newArray(int length)
- Specified by:
newArrayin interfacePrimitiveType<java.nio.IntBuffer>- Overrides:
newArrayin classPrimitiveTypeBase<java.nio.IntBuffer>
-
putArray
public void putArray(java.nio.IntBuffer buffer, java.lang.Object array, int length)- Specified by:
putArrayin interfacePrimitiveType<java.nio.IntBuffer>- Overrides:
putArrayin classPrimitiveTypeBase<java.nio.IntBuffer>
-
sliceBuffer
public java.nio.IntBuffer sliceBuffer(java.nio.IntBuffer buffer)
- Specified by:
sliceBufferin interfacePrimitiveType<java.nio.IntBuffer>- Overrides:
sliceBufferin classPrimitiveTypeBase<java.nio.IntBuffer>
-
wrap
public java.nio.IntBuffer wrap(java.lang.Object array)
- Specified by:
wrapin interfacePrimitiveType<java.nio.IntBuffer>- Overrides:
wrapin classPrimitiveTypeBase<java.nio.IntBuffer>
-
-