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 int
BIT_PIX
private static int
SIZE
-
Fields inherited from class nom.tam.util.type.PrimitiveTypeBase
COPY_BLOCK_SIZE
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
IntType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendBuffer(java.nio.IntBuffer buffer, java.nio.IntBuffer dataToAppend)
java.nio.IntBuffer
asTypedBuffer(java.nio.ByteBuffer buffer)
void
getArray(java.nio.IntBuffer buffer, java.lang.Object array, int offset, int length)
java.lang.Object
newArray(int length)
void
putArray(java.nio.IntBuffer buffer, java.lang.Object array, int length)
java.nio.IntBuffer
sliceBuffer(java.nio.IntBuffer buffer)
java.nio.IntBuffer
wrap(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:
appendBuffer
in interfacePrimitiveType<java.nio.IntBuffer>
- Overrides:
appendBuffer
in classPrimitiveTypeBase<java.nio.IntBuffer>
-
asTypedBuffer
public java.nio.IntBuffer asTypedBuffer(java.nio.ByteBuffer buffer)
- Specified by:
asTypedBuffer
in interfacePrimitiveType<java.nio.IntBuffer>
- Overrides:
asTypedBuffer
in classPrimitiveTypeBase<java.nio.IntBuffer>
-
getArray
public void getArray(java.nio.IntBuffer buffer, java.lang.Object array, int offset, int length)
- Specified by:
getArray
in interfacePrimitiveType<java.nio.IntBuffer>
- Overrides:
getArray
in classPrimitiveTypeBase<java.nio.IntBuffer>
-
newArray
public java.lang.Object newArray(int length)
- Specified by:
newArray
in interfacePrimitiveType<java.nio.IntBuffer>
- Overrides:
newArray
in classPrimitiveTypeBase<java.nio.IntBuffer>
-
putArray
public void putArray(java.nio.IntBuffer buffer, java.lang.Object array, int length)
- Specified by:
putArray
in interfacePrimitiveType<java.nio.IntBuffer>
- Overrides:
putArray
in classPrimitiveTypeBase<java.nio.IntBuffer>
-
sliceBuffer
public java.nio.IntBuffer sliceBuffer(java.nio.IntBuffer buffer)
- Specified by:
sliceBuffer
in interfacePrimitiveType<java.nio.IntBuffer>
- Overrides:
sliceBuffer
in classPrimitiveTypeBase<java.nio.IntBuffer>
-
wrap
public java.nio.IntBuffer wrap(java.lang.Object array)
- Specified by:
wrap
in interfacePrimitiveType<java.nio.IntBuffer>
- Overrides:
wrap
in classPrimitiveTypeBase<java.nio.IntBuffer>
-
-