Interface ToLongFunctor<T extends Attributes.Any>

Type Parameters:
T - the chunk's attribute
All Superinterfaces:
AutoCloseable, Context, SafeCloseable
All Known Subinterfaces:
ToLongCast<T>
All Known Implementing Classes:
ByteToLongCast, ByteToLongCastWithOffset, CharToLongCast, CharToLongCastWithOffset, IntToLongCast, IntToLongCastWithOffset, LongToLongCast, LongToLongCastWithOffset, ShortToLongCast, ShortToLongCastWithOffset, ToLongFunctor.Identity

public interface ToLongFunctor<T extends Attributes.Any> extends Context
A function that transforms a Chunk to an LongChunk.
  • Method Details

    • apply

      LongChunk<T> apply(Chunk<T> input)
      Apply this function to the input chunk, returning an output chunk. The result is owned by this Context.
      Parameters:
      input - the chunk to transform
      Returns:
      the result LongChunk
    • makeIdentity

      static <T extends Attributes.Any> ToLongFunctor.Identity<T> makeIdentity()