Class Pair<A,​B>

  • Type Parameters:
    A - Type of A
    B - Type of B

    public class Pair<A,​B>
    extends java.lang.Object
    Simple class for returning a tuple
    Since:
    1.0.0
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      A getA()  
      B getB()  
      • Methods inherited from class java.lang.Object

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

      • Pair

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

      • getA

        public A getA()
      • getB

        public B getB()