Interface Tuple

All Known Implementing Classes:
AbstractTuple, Tuple0, Tuple1, Tuple2, Tuple3, TupleN

public interface Tuple
  • Field Summary

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

    Modifier and Type
    Method
    Description
    int
     
    <T> T
    valueAt(int index)
    zero based index.
  • Field Details

  • Method Details

    • size

      int size()
    • valueAt

      <T> T valueAt(int index)
      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
      index - zero based Index.
      Returns:
      tuple value at index