Class Pair<X,​Y>


  • public class Pair<X,​Y>
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Pair​(X key, Y value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      X getKey()  
      Y getValue()  
      • Methods inherited from class java.lang.Object

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

      • Pair

        public Pair​(X key,
                    Y value)
    • Method Detail

      • getKey

        public X getKey()
      • getValue

        public Y getValue()