Package io.deephaven.chunk
Class ChunkBase<ATTR extends Any>
java.lang.Object
io.deephaven.chunk.ChunkBase<ATTR>
- All Implemented Interfaces:
Chunk<ATTR>
- Direct Known Subclasses:
BooleanChunk,ByteChunk,CharChunk,DoubleChunk,FloatChunk,IntChunk,LongChunk,ObjectChunk,ShortChunk
A generic object intended to serve as a thin wrapper around an array region.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.chunk.Chunk
Chunk.Visitor<ATTR extends Any> -
Field Summary
Fields inherited from interface io.deephaven.chunk.Chunk
MAXIMUM_SIZE, SYSTEM_ARRAYCOPY_THRESHOLD, SYSTEM_ARRAYFILL_THRESHOLD -
Method Summary
Modifier and TypeMethodDescriptionfinal intinternalCapacity(long password) DO NOT CALL THIS INTERNAL METHOD.final voidinternalSetSize(int newSize, long password) DO NOT CALL THIS INTERNAL METHOD.final intsize()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.deephaven.chunk.Chunk
asBooleanChunk, asByteChunk, asCharChunk, asDoubleChunk, asFloatChunk, asIntChunk, asLongChunk, asObjectChunk, asShortChunk, checkChunkType, copyToArray, copyToBuffer, copyToChunk, getChunkType, isAlias, isAlias, slice, walk
-
Method Details
-
size
public final int size() -
internalSetSize
public final void internalSetSize(int newSize, long password) DO NOT CALL THIS INTERNAL METHOD. If you want to set a size, callWritableChunk.setSize(int). That method is the only legal caller of this method in the entire system. -
internalCapacity
public final int internalCapacity(long password) DO NOT CALL THIS INTERNAL METHOD. CallWritableChunk.capacity()That method is the only legal caller of this method in the entire system.
-