Package groovy.lang

Class Tuple2<T1,T2>

All Implemented Interfaces:
Serializable, Cloneable, Comparable, Iterable, Collection, List

public final class Tuple2<T1,T2> extends Tuple
Represents a list of 2 typed Objects.
See Also:
  • Constructor Details

    • Tuple2

      public Tuple2(T1 v1, T2 v2)
    • Tuple2

      public Tuple2(Tuple2<T1,T2> tuple)
  • Method Details