Class TupleDesc_U8

All Implemented Interfaces:
TupleDesc<TupleDesc_U8>, Serializable

public class TupleDesc_U8 extends TupleDesc_I8<TupleDesc_U8>
Feature description storage in an array of unsigned bytes.
See Also:
  • Constructor Details

    • TupleDesc_U8

      public TupleDesc_U8(int numFeatures)
    • TupleDesc_U8

      public TupleDesc_U8(byte... values)
  • Method Details

    • get

      public int get(int index)
    • setTo

      public void setTo(byte... value)
      Overrides:
      setTo in class TupleDesc_I8<TupleDesc_U8>
    • fill

      public void fill(int value)
    • getDouble

      public double getDouble(int index)
      Description copied from interface: TupleDesc
      Returns the value of a tuple's element as a double. In general this function should not be used because of how inefficient it is.
      Parameters:
      index - Which element
      Returns:
      Element's value as a double
    • newInstance

      public TupleDesc_U8 newInstance()