Package io.deephaven.chunk
Class ResettableWritableObjectChunkChunk<T,ATTR extends Any>
java.lang.Object
io.deephaven.chunk.ChunkChunkBase<ATTR>
io.deephaven.chunk.ObjectChunkChunk<T,ATTR>
io.deephaven.chunk.WritableObjectChunkChunk<T,ATTR>
io.deephaven.chunk.ResettableWritableObjectChunkChunk<T,ATTR>
- All Implemented Interfaces:
ChunkChunk<ATTR>
,ResettableWritableChunkChunk<ATTR>
,WritableChunkChunk<ATTR>
public class ResettableWritableObjectChunkChunk<T,ATTR extends Any>
extends WritableObjectChunkChunk<T,ATTR>
implements ResettableWritableChunkChunk<ATTR>
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T,
ATTR extends Any>
ResettableWritableObjectChunkChunk<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
(WritableChunkChunk<ATTR> other, int offset, int capacity) Reset the data and bounds of this chunk to a range or sub-range of the specifiedWritableChunkChunk
.final void
resetFromTypedArray
(WritableObjectChunk<T, ATTR>[] data, int offset, int capacity) final void
resetFromTypedChunk
(WritableObjectChunkChunk<T, ATTR> other, int offset, int capacity) slice
(int offset, int capacity) Methods inherited from class io.deephaven.chunk.WritableObjectChunkChunk
getWritableChunk, makeArray, makeWritableChunk, set, set, setWritableChunk, writableChunkWrap, writableChunkWrap
Methods inherited from class io.deephaven.chunk.ObjectChunkChunk
chunkWrap, chunkWrap, get, get, getChunk, getEmptyChunk
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.ResettableWritableChunkChunk
asResettableWritableBooleanChunkChunk, asResettableWritableByteChunkChunk, asResettableWritableCharChunkChunk, asResettableWritableDoubleChunkChunk, asResettableWritableFloatChunkChunk, asResettableWritableIntChunkChunk, asResettableWritableLongChunkChunk, asResettableWritableObjectChunkChunk, asResettableWritableShortChunkChunk
Methods inherited from interface io.deephaven.chunk.WritableChunkChunk
asWritableBooleanChunkChunk, asWritableByteChunkChunk, asWritableCharChunkChunk, asWritableDoubleChunkChunk, asWritableFloatChunkChunk, asWritableIntChunkChunk, asWritableLongChunkChunk, asWritableObjectChunkChunk, asWritableShortChunkChunk, getWritableChunk, setWritableChunk
-
Method Details
-
makeResettableChunk
public static <T,ATTR extends Any> ResettableWritableObjectChunkChunk<T,ATTR> makeResettableChunk() -
slice
- Specified by:
slice
in interfaceChunkChunk<T>
- Specified by:
slice
in interfaceWritableChunkChunk<T>
- Overrides:
slice
in classWritableObjectChunkChunk<T,
ATTR extends Any>
-
resetFromChunk
Description copied from interface:ResettableWritableChunkChunk
Reset the data and bounds of this chunk to a range or sub-range of the specifiedWritableChunkChunk
.- Specified by:
resetFromChunk
in interfaceResettableWritableChunkChunk<T>
- Parameters:
other
- The otherWritableChunkChunk
offset
- The offset into othercapacity
- The capacity this should have after reset
-
resetFromArray
Description copied from interface:ResettableWritableChunkChunk
Reset the data and bounds of this chunk to a range or sub-range of the specified array.- Specified by:
resetFromArray
in interfaceResettableWritableChunkChunk<T>
- Parameters:
array
- The arrayoffset
- The offset into arraycapacity
- The capacity this should have after reset
-
resetFromTypedChunk
public final void resetFromTypedChunk(WritableObjectChunkChunk<T, ATTR> other, int offset, int capacity) -
resetFromTypedArray
-