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
-
Method Summary
Modifier and TypeMethodDescriptionApply this function to the input chunk, returning an output chunk.default void
close()
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:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceSafeCloseable
-
makeIdentity
-