Class Tuple2<T1,​T2>


  • public final class Tuple2<T1,​T2>
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      T1 _1  
      T2 _2  
    • Constructor Summary

      Constructors 
      Constructor Description
      Tuple2​(T1 v1, T2 v2)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • _1

        public final T1 _1
      • _2

        public final T2 _2
    • Constructor Detail

      • Tuple2

        public Tuple2​(T1 v1,
                      T2 v2)
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

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