Class ObjectChunkFactory<T>
java.lang.Object
io.deephaven.chunk.util.factories.ObjectChunkFactory<T>
- All Implemented Interfaces:
ChunkFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal @NotNull IntFunction<Chunk[]>
final <ATTR extends Any>
@NotNull ObjectChunkChunk<T,ATTR> chunkChunkWrap
(Chunk<ATTR>[] array) final <ATTR extends Any>
@NotNull ObjectChunkChunk<T,ATTR> chunkChunkWrap
(Chunk<ATTR>[] array, int offset, int capacity) final <ATTR extends Any>
@NotNull ObjectChunk<T,ATTR> final <ATTR extends Any>
@NotNull ObjectChunk<T,ATTR> final <ATTR extends Any>
@NotNull ObjectChunk<T,ATTR> final <ATTR extends Any>
@NotNull ObjectChunkChunk<T,ATTR> final @NotNull T[]
makeArray
(int capacity) final <ATTR extends Any>
@NotNull ObjectChunk<T,ATTR>[] makeChunkArray
(int capacity) final <ATTR extends Any>
@NotNull ResettableChunkChunk<ATTR>final <ATTR extends Any>
@NotNull ResettableReadOnlyChunk<ATTR>final <ATTR extends Any>
@NotNull ResettableWritableChunk<ATTR>final <ATTR extends Any>
@NotNull ResettableWritableChunkChunk<ATTR>final <ATTR extends Any>
@NotNull WritableObjectChunk<T,ATTR> makeWritableChunk
(int capacity) final <ATTR extends Any>
@NotNull WritableObjectChunkChunk<T,ATTR> makeWritableChunkChunk
(int capacity) final @NotNull IntFunction<WritableChunk[]>
final <ATTR extends Any>
@NotNull WritableChunkChunk<ATTR>writableChunkChunkWrap
(WritableChunk<ATTR>[] array, int offset, int capacity) final <ATTR extends Any>
@NotNull WritableObjectChunk<T,ATTR> writableChunkWrap
(Object array, int offset, int capacity)
-
Constructor Details
-
ObjectChunkFactory
public ObjectChunkFactory()
-
-
Method Details
-
makeArray
- Specified by:
makeArray
in interfaceChunkFactory
-
makeChunkArray
@NotNull public final <ATTR extends Any> @NotNull ObjectChunk<T,ATTR>[] makeChunkArray(int capacity) - Specified by:
makeChunkArray
in interfaceChunkFactory
-
getEmptyChunk
- Specified by:
getEmptyChunk
in interfaceChunkFactory
-
getEmptyChunkChunk
- Specified by:
getEmptyChunkChunk
in interfaceChunkFactory
-
chunkWrap
- Specified by:
chunkWrap
in interfaceChunkFactory
-
chunkWrap
@NotNull public final <ATTR extends Any> @NotNull ObjectChunk<T,ATTR> chunkWrap(Object array, int offset, int capacity) - Specified by:
chunkWrap
in interfaceChunkFactory
-
chunkChunkWrap
@NotNull public final <ATTR extends Any> @NotNull ObjectChunkChunk<T,ATTR> chunkChunkWrap(Chunk<ATTR>[] array) - Specified by:
chunkChunkWrap
in interfaceChunkFactory
-
chunkChunkWrap
@NotNull public final <ATTR extends Any> @NotNull ObjectChunkChunk<T,ATTR> chunkChunkWrap(Chunk<ATTR>[] array, int offset, int capacity) - Specified by:
chunkChunkWrap
in interfaceChunkFactory
-
makeResettableReadOnlyChunk
@NotNull public final <ATTR extends Any> @NotNull ResettableReadOnlyChunk<ATTR> makeResettableReadOnlyChunk()- Specified by:
makeResettableReadOnlyChunk
in interfaceChunkFactory
-
makeResettableChunkChunk
@NotNull public final <ATTR extends Any> @NotNull ResettableChunkChunk<ATTR> makeResettableChunkChunk()- Specified by:
makeResettableChunkChunk
in interfaceChunkFactory
-
makeWritableChunk
@NotNull public final <ATTR extends Any> @NotNull WritableObjectChunk<T,ATTR> makeWritableChunk(int capacity) - Specified by:
makeWritableChunk
in interfaceChunkFactory
-
makeWritableChunkChunk
@NotNull public final <ATTR extends Any> @NotNull WritableObjectChunkChunk<T,ATTR> makeWritableChunkChunk(int capacity) - Specified by:
makeWritableChunkChunk
in interfaceChunkFactory
-
writableChunkWrap
@NotNull public final <ATTR extends Any> @NotNull WritableObjectChunk<T,ATTR> writableChunkWrap(Object array, int offset, int capacity) - Specified by:
writableChunkWrap
in interfaceChunkFactory
-
writableChunkChunkWrap
@NotNull public final <ATTR extends Any> @NotNull WritableChunkChunk<ATTR> writableChunkChunkWrap(WritableChunk<ATTR>[] array, int offset, int capacity) - Specified by:
writableChunkChunkWrap
in interfaceChunkFactory
-
makeResettableWritableChunk
@NotNull public final <ATTR extends Any> @NotNull ResettableWritableChunk<ATTR> makeResettableWritableChunk()- Specified by:
makeResettableWritableChunk
in interfaceChunkFactory
-
makeResettableWritableChunkChunk
@NotNull public final <ATTR extends Any> @NotNull ResettableWritableChunkChunk<ATTR> makeResettableWritableChunkChunk()- Specified by:
makeResettableWritableChunkChunk
in interfaceChunkFactory
-
chunkArrayBuilder
- Specified by:
chunkArrayBuilder
in interfaceChunkFactory
-
writableChunkArrayBuilder
- Specified by:
writableChunkArrayBuilder
in interfaceChunkFactory
-