Package io.deephaven.chunk.util.hashing
Class IntToLongCastWithOffset<T extends Any>
java.lang.Object
io.deephaven.chunk.util.hashing.IntToLongCastWithOffset<T>
- Type Parameters:
T
- the chunk's attribute
- All Implemented Interfaces:
ToLongFunctor<T>
,SafeCloseable
,AutoCloseable
Cast the values in the input chunk to an long and add the specified offset.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.chunk.util.hashing.ToLongFunctor
ToLongFunctor.Identity<T extends Any>
-
Method Summary
-
Method Details
-
apply
Description copied from interface:ToLongFunctor
Apply this function to the input chunk, returning an output chunk. The result is owned by thisToLongFunctor
.- Specified by:
apply
in interfaceToLongFunctor<T extends Any>
- Parameters:
input
- the chunk to transform- Returns:
- the result LongChunk
-
castInto
public static <T2 extends Any> void castInto(IntChunk<T2> input, WritableLongChunk<T2> result, long offset) -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceSafeCloseable
- Specified by:
close
in interfaceToLongFunctor<T extends Any>
-