Package io.deephaven.chunk
Interface ResettableChunkChunk<ATTR extends Any>
- All Superinterfaces:
ChunkChunk<ATTR>
- All Known Implementing Classes:
ResettableBooleanChunkChunk
,ResettableByteChunkChunk
,ResettableCharChunkChunk
,ResettableDoubleChunkChunk
,ResettableFloatChunkChunk
,ResettableIntChunkChunk
,ResettableLongChunkChunk
,ResettableObjectChunkChunk
,ResettableShortChunkChunk
ChunkChunk
that may have its backing storage reset to a slice of that belonging to another ChunkChunk
or a native array.-
Method Summary
Modifier and TypeMethodDescriptiondefault ResettableBooleanChunkChunk<ATTR>
default ResettableByteChunkChunk<ATTR>
default ResettableCharChunkChunk<ATTR>
default ResettableDoubleChunkChunk<ATTR>
default ResettableFloatChunkChunk<ATTR>
default ResettableIntChunkChunk<ATTR>
default ResettableLongChunkChunk<ATTR>
default <T> ResettableObjectChunkChunk<T,
ATTR> default ResettableShortChunkChunk<ATTR>
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.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
.Methods inherited from interface io.deephaven.chunk.ChunkChunk
asBooleanChunkChunk, asByteChunkChunk, asCharChunkChunk, asDoubleChunkChunk, asFloatChunkChunk, asIntChunkChunk, asLongChunkChunk, asObjectChunkChunk, asShortChunkChunk, getChunk, size, slice
-
Method Details
-
resetFromChunk
Reset the data and bounds of this chunk to a range or sub-range of the specifiedChunkChunk
.- Parameters:
other
- The otherChunkChunk
offset
- The offset into othercapacity
- The capacity this should have after reset
-
resetFromArray
Reset the data and bounds of this chunk to a range or sub-range of the specified array.- Parameters:
array
- The arrayoffset
- The offset into arraycapacity
- The capacity this should have after reset
-
asResettableByteChunkChunk
-
asResettableBooleanChunkChunk
-
asResettableCharChunkChunk
-
asResettableShortChunkChunk
-
asResettableIntChunkChunk
-
asResettableLongChunkChunk
-
asResettableFloatChunkChunk
-
asResettableDoubleChunkChunk
-
asResettableObjectChunkChunk
-