Class Tuple0

All Implemented Interfaces:
Tuple

public class Tuple0 extends AbstractTuple
  • Field Details

    • INSTANCE

      public static final Tuple0 INSTANCE
  • Constructor Details

    • Tuple0

      public Tuple0()
  • Method Details

    • size

      public int size()
    • valueAt

      public <T> T valueAt(int index)
      Description copied from interface: Tuple
      zero based index.
          Uplet2<String,Integer> u=new Uplet2<String,Integer>(String.class,Integer.class,"Hello",null);
          Integer i2=u._2;
          Integer i2=u.valueAt(1);
      
      Type Parameters:
      T - T
      Parameters:
      index - index
      Returns:
      tuple value at index