Package groovy.lang

Class Tuple2<T1,​T2>

  • All Implemented Interfaces:
    Iterable, Collection, List

    public class Tuple2<T1,​T2>
    extends Tuple
    Represents a list of 2 typed Objects.
    • Constructor Detail

      • Tuple2

        public Tuple2​(T1 first,
                      T2 second)
    • Method Detail

      • getFirst

        public T1 getFirst()
      • getSecond

        public T2 getSecond()