Interface ToDoubleCast

All Superinterfaces:
AutoCloseable, SafeCloseable
All Known Implementing Classes:
ByteToDoubleCast, CharToDoubleCast, DoubleToDoubleCast, FloatToDoubleCast, IntToDoubleCast, LongToDoubleCast, ShortToDoubleCast, ToDoubleCast.Identity

public interface ToDoubleCast extends SafeCloseable
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final ToDoubleCast
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> DoubleChunk<? extends T>
    cast(Chunk<? extends T> input)
     
    makeToDoubleCast(ChunkType type, int size)
    Create a kernel that casts the values in an input chunk to an double.

    Methods inherited from interface io.deephaven.util.SafeCloseable

    close
  • Field Details

  • Method Details

    • cast

      <T> DoubleChunk<? extends T> cast(Chunk<? extends T> input)
    • makeToDoubleCast

      static ToDoubleCast makeToDoubleCast(ChunkType type, int size)
      Create a kernel that casts the values in an input chunk to an double.
      Parameters:
      type - the type of chunk, must be an integral primitive type
      size - the size of the largest chunk that can be cast by this kernel
      Returns:
      a ToDoubleCast that can be applied to chunks of type in order to produce a DoubleChunk of values