Package io.deephaven.chunk
Interface ResettableWritableChunkChunk<ATTR extends Any>
- All Superinterfaces:
ChunkChunk<ATTR>
,WritableChunkChunk<ATTR>
- All Known Implementing Classes:
ResettableWritableBooleanChunkChunk
,ResettableWritableByteChunkChunk
,ResettableWritableCharChunkChunk
,ResettableWritableDoubleChunkChunk
,ResettableWritableFloatChunkChunk
,ResettableWritableIntChunkChunk
,ResettableWritableLongChunkChunk
,ResettableWritableObjectChunkChunk
,ResettableWritableShortChunkChunk
WritableChunkChunk
that may have its backing storage reset to a slice of that belonging to another
WritableChunkChunk
or a native array.-
Method Summary
Modifier and TypeMethodDescriptiondefault ResettableWritableBooleanChunkChunk<ATTR>
default ResettableWritableByteChunkChunk<ATTR>
default ResettableWritableCharChunkChunk<ATTR>
default ResettableWritableDoubleChunkChunk<ATTR>
default ResettableWritableFloatChunkChunk<ATTR>
default ResettableWritableIntChunkChunk<ATTR>
default ResettableWritableLongChunkChunk<ATTR>
default <T> ResettableWritableObjectChunkChunk<T,
ATTR> default ResettableWritableShortChunkChunk<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
(WritableChunkChunk<ATTR> other, int offset, int capacity) Reset the data and bounds of this chunk to a range or sub-range of the specifiedWritableChunkChunk
.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.WritableChunkChunk
asWritableBooleanChunkChunk, asWritableByteChunkChunk, asWritableCharChunkChunk, asWritableDoubleChunkChunk, asWritableFloatChunkChunk, asWritableIntChunkChunk, asWritableLongChunkChunk, asWritableObjectChunkChunk, asWritableShortChunkChunk, getWritableChunk, setWritableChunk, slice
-
Method Details
-
resetFromChunk
Reset the data and bounds of this chunk to a range or sub-range of the specifiedWritableChunkChunk
.- Parameters:
other
- The otherWritableChunkChunk
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
-
asResettableWritableByteChunkChunk
-
asResettableWritableBooleanChunkChunk
-
asResettableWritableCharChunkChunk
-
asResettableWritableShortChunkChunk
-
asResettableWritableIntChunkChunk
-
asResettableWritableLongChunkChunk
-
asResettableWritableFloatChunkChunk
-
asResettableWritableDoubleChunkChunk
-
asResettableWritableObjectChunkChunk
-