Class Pair<S,​T>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected S _first  
      protected T _second  
    • Constructor Summary

      Constructors 
      Constructor Description
      Pair()  
      Pair​(S first)  
      Pair​(S first, T second)  
    • Field Detail

      • _first

        protected S _first
      • _second

        protected T _second
    • Constructor Detail

      • Pair

        public Pair​(S first,
                    T second)
      • Pair

        public Pair​(S first)
      • Pair

        public Pair()
    • Method Detail

      • first

        public S first()
      • second

        public T second()
      • equals

        public boolean equals​(java.lang.Object obj)
        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