Class Pair<K,​V>


  • public class Pair<K,​V>
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      K first  
      V second  
    • Constructor Summary

      Constructors 
      Constructor Description
      Pair​(K first, V second)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object pair)  
      • Methods inherited from class java.lang.Object

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

      • first

        public K first
      • second

        public V second
    • Constructor Detail

      • Pair

        public Pair​(K first,
                    V second)
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object pair)
        Overrides:
        equals in class java.lang.Object