Class Tuple<X,​Y>


  • public class Tuple<X,​Y>
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      X first  
      Y second  
    • Constructor Summary

      Constructors 
      Constructor Description
      Tuple​(X first, Y second)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • first

        public X first
      • second

        public Y second
    • Constructor Detail

      • Tuple

        public Tuple​(X first,
                     Y second)
    • Method Detail

      • toString

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