Package io.deephaven.chunk.util.hashing
Interface ToIntFunctor<T extends Any>
- Type Parameters:
T- the chunk's attribute
- All Superinterfaces:
AutoCloseable,SafeCloseable
- All Known Subinterfaces:
ToIntegerCast<T>
- All Known Implementing Classes:
ByteToIntegerCast,ByteToIntegerCastWithOffset,CharToIntegerCast,CharToIntegerCastWithOffset,IntToIntegerCast,IntToIntegerCastWithOffset,LongToIntegerCast,LongToIntegerCastWithOffset,ShortToIntegerCast,ShortToIntegerCastWithOffset,ToIntFunctor.Identity
A function that transforms a Chunk to an IntChunk.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionApply this function to the input chunk, returning an output chunk.default voidclose()static <T extends Any>
ToIntFunctor.Identity<T>
-
Method Details
-
apply
Apply this function to the input chunk, returning an output chunk. The result is owned by this ToIntFunctor.- Parameters:
input- the chunk to transform- Returns:
- the result IntChunk
-
close
default void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceSafeCloseable
-
makeIdentity
-