Class ChunkBoxer
java.lang.Object
io.deephaven.engine.table.impl.chunkboxer.ChunkBoxer
Convert an arbitrary chunk to a chunk of boxed objects.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceReturn a chunk that contains boxedObjectsrepresenting the primitive values invalues. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ChunkBoxer
public ChunkBoxer()
-
-
Method Details
-
boxedGet
public static <BOXED_TYPE> BOXED_TYPE boxedGet(@NotNull @NotNull Chunk<? extends Values> values, int offset) Box the value atoffsetinvalues.Please use a
ChunkBoxerwhen boxing multiple values in order to amortize the cost of implementation lookup and avoid virtual dispatch.- Type Parameters:
BOXED_TYPE- The type of the boxed value- Parameters:
values- The chunk containing the value to boxoffset- The offset of the value to box- Returns:
- The boxed value
-
getBoxer
-