Package io.deephaven.chunk
Class ResettableObjectChunkChunk<T,ATTR extends Any>
java.lang.Object
io.deephaven.chunk.ChunkChunkBase<ATTR>
io.deephaven.chunk.ObjectChunkChunk<T,ATTR>
io.deephaven.chunk.ResettableObjectChunkChunk<T,ATTR>
- All Implemented Interfaces:
ChunkChunk<ATTR>
,ResettableChunkChunk<ATTR>
public class ResettableObjectChunkChunk<T,ATTR extends Any>
extends ObjectChunkChunk<T,ATTR>
implements ResettableChunkChunk<ATTR>
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T,
ATTR extends Any>
ResettableObjectChunkChunk<T,ATTR> final void
resetFromArray
(Object array, int offset, int capacity) Reset the data and bounds of this chunk to a range or sub-range of the specified array.final void
resetFromChunk
(ChunkChunk<ATTR> other, int offset, int capacity) Reset the data and bounds of this chunk to a range or sub-range of the specifiedChunkChunk
.final void
resetFromTypedArray
(ObjectChunk<T, ATTR>[] data, int offset, int capacity) final void
resetFromTypedChunk
(ObjectChunkChunk<T, ATTR> other, int offset, int capacity) slice
(int offset, int capacity) Methods inherited from class io.deephaven.chunk.ObjectChunkChunk
chunkWrap, chunkWrap, get, get, getChunk, getEmptyChunk, makeArray
Methods inherited from class io.deephaven.chunk.ChunkChunkBase
size
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.deephaven.chunk.ChunkChunk
asBooleanChunkChunk, asByteChunkChunk, asCharChunkChunk, asDoubleChunkChunk, asFloatChunkChunk, asIntChunkChunk, asLongChunkChunk, asObjectChunkChunk, asShortChunkChunk, getChunk, size
Methods inherited from interface io.deephaven.chunk.ResettableChunkChunk
asResettableBooleanChunkChunk, asResettableByteChunkChunk, asResettableCharChunkChunk, asResettableDoubleChunkChunk, asResettableFloatChunkChunk, asResettableIntChunkChunk, asResettableLongChunkChunk, asResettableObjectChunkChunk, asResettableShortChunkChunk
-
Method Details
-
makeResettableChunk
-
slice
- Specified by:
slice
in interfaceChunkChunk<T>
- Overrides:
slice
in classObjectChunkChunk<T,
ATTR extends Any>
-
resetFromChunk
Description copied from interface:ResettableChunkChunk
Reset the data and bounds of this chunk to a range or sub-range of the specifiedChunkChunk
.- Specified by:
resetFromChunk
in interfaceResettableChunkChunk<T>
- Parameters:
other
- The otherChunkChunk
offset
- The offset into othercapacity
- The capacity this should have after reset
-
resetFromArray
Description copied from interface:ResettableChunkChunk
Reset the data and bounds of this chunk to a range or sub-range of the specified array.- Specified by:
resetFromArray
in interfaceResettableChunkChunk<T>
- Parameters:
array
- The arrayoffset
- The offset into arraycapacity
- The capacity this should have after reset
-
resetFromTypedChunk
-
resetFromTypedArray
-