Class Tuple3<V1,V2,V3>

java.lang.Object
net.hl.lang.AbstractTuple
net.hl.lang.Tuple3<V1,V2,V3>
All Implemented Interfaces:
Tuple

public class Tuple3<V1,V2,V3> extends AbstractTuple
  • Field Details

    • _1

      public final V1 _1
    • _2

      public final V2 _2
    • _3

      public final V3 _3
  • Constructor Details

    • Tuple3

      public Tuple3(V1 _1, V2 _2, V3 _3)
  • 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