Package io.deephaven.chunk.util.hashing
Interface ToLongFunctor<T extends Any>
- Type Parameters:
T
- the chunk's attribute
- All Superinterfaces:
AutoCloseable
,SafeCloseable
- All Known Subinterfaces:
ToLongCast<T>
- All Known Implementing Classes:
ByteToLongCast
,ByteToLongCastWithOffset
,CharToLongCast
,CharToLongCastWithOffset
,IntToLongCast
,IntToLongCastWithOffset
,LongToLongCast
,LongToLongCastWithOffset
,ShortToLongCast
,ShortToLongCastWithOffset
,ToLongFunctor.Identity
A function that transforms a Chunk to an LongChunk.
-
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>
ToLongFunctor.Identity<T>
-
Method Details
-
apply
Apply this function to the input chunk, returning an output chunk. The result is owned by thisToLongFunctor
.- Parameters:
input
- the chunk to transform- Returns:
- the result LongChunk
-
close
default void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceSafeCloseable
-
makeIdentity
-