Class CharToLongCast<T extends Any>

java.lang.Object
io.deephaven.chunk.util.hashing.CharToLongCast<T>
Type Parameters:
T - the chunk's attribute
All Implemented Interfaces:
ToLongFunctor<T>, io.deephaven.util.SafeCloseable, AutoCloseable

public class CharToLongCast<T extends Any> extends Object implements ToLongFunctor<T>
Cast the values in the input chunk to a long.
  • Method Details

    • apply

      public LongChunk<T> apply(Chunk<T> input)
      Description copied from interface: ToLongFunctor
      Apply this function to the input chunk, returning an output chunk. The result is owned by this ToLongFunctor.
      Specified by:
      apply in interface ToLongFunctor<T extends Any>
      Parameters:
      input - the chunk to transform
      Returns:
      the result LongChunk
    • castInto

      public static <T2 extends Any> void castInto(CharChunk<? extends T2> input, WritableLongChunk<? super T2> result)
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface io.deephaven.util.SafeCloseable
      Specified by:
      close in interface ToLongFunctor<T extends Any>