Class CharChunkFactory
java.lang.Object
io.deephaven.chunk.util.factories.CharChunkFactory
- All Implemented Interfaces:
ChunkFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal @NotNull IntFunction<Chunk[]>
final <ATTR extends Any>
@NotNull CharChunkChunk<ATTR>chunkChunkWrap
(Chunk<ATTR>[] array) final <ATTR extends Any>
@NotNull CharChunkChunk<ATTR>chunkChunkWrap
(Chunk<ATTR>[] array, int offset, int capacity) final <ATTR extends Any>
@NotNull CharChunkChunk<ATTR>final @org.jetbrains.annotations.NotNull char[]
makeArray
(int capacity) 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 WritableCharChunk<ATTR>makeWritableChunk
(int capacity) final <ATTR extends Any>
@NotNull WritableCharChunkChunk<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 WritableCharChunk<ATTR>writableChunkWrap
(Object array, int offset, int capacity)
-
Constructor Details
-
CharChunkFactory
public CharChunkFactory()
-
-
Method Details
-
makeArray
@NotNull public final @org.jetbrains.annotations.NotNull char[] makeArray(int capacity) - Specified by:
makeArray
in interfaceChunkFactory
-
makeChunkArray
- 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 CharChunk<ATTR> chunkWrap(Object array, int offset, int capacity) - Specified by:
chunkWrap
in interfaceChunkFactory
-
chunkChunkWrap
@NotNull public final <ATTR extends Any> @NotNull CharChunkChunk<ATTR> chunkChunkWrap(Chunk<ATTR>[] array) - Specified by:
chunkChunkWrap
in interfaceChunkFactory
-
chunkChunkWrap
@NotNull public final <ATTR extends Any> @NotNull CharChunkChunk<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 WritableCharChunk<ATTR> makeWritableChunk(int capacity) - Specified by:
makeWritableChunk
in interfaceChunkFactory
-
makeWritableChunkChunk
@NotNull public final <ATTR extends Any> @NotNull WritableCharChunkChunk<ATTR> makeWritableChunkChunk(int capacity) - Specified by:
makeWritableChunkChunk
in interfaceChunkFactory
-
writableChunkWrap
@NotNull public final <ATTR extends Any> @NotNull WritableCharChunk<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
-