Class ValuePair<A,​B>

  • All Implemented Interfaces:
    Pair<A,​B>

    public class ValuePair<A,​B>
    extends java.lang.Object
    implements Pair<A,​B>
    TODO
    • Field Summary

      Fields 
      Modifier and Type Field Description
      A a  
      B b  
    • Constructor Summary

      Constructors 
      Constructor Description
      ValuePair​(A a, B b)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      A getA()  
      B getB()  
      int hashCode()  
      • Methods inherited from class java.lang.Object

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

      • a

        public final A a
      • b

        public final B b
    • Constructor Detail

      • ValuePair

        public ValuePair​(A a,
                         B b)
    • Method Detail

      • getA

        public A getA()
        Specified by:
        getA in interface Pair<A,​B>
      • getB

        public B getB()
        Specified by:
        getB in interface Pair<A,​B>
      • hashCode

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

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