Class Tuple2<T1,​T2>

  • Direct Known Subclasses:
    Tuple3

    public class Tuple2<T1,​T2>
    extends Tuple
    • Constructor Summary

      Constructors 
      Constructor Description
      Tuple2​(T1 val1, T2 val2)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static <T1,​T2>
      Tuple2<T1,​T2>
      of​(T1 val1, T2 val2)  
      java.lang.String toString()  
      T1 val1()  
      T2 val2()  
      • Methods inherited from class io.aether.utils.tuples.Tuple

        of
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Tuple2

        public Tuple2​(T1 val1,
                      T2 val2)
    • Method Detail

      • val1

        public T1 val1()
      • val2

        public T2 val2()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • of

        public static <T1,​T2> Tuple2<T1,​T2> of​(T1 val1,
                                                           T2 val2)