Class Pair<A,​B>

java.lang.Object
com.twelfthmile.yuga.types.Pair<A,​B>

public class Pair<A,​B>
extends java.lang.Object
Created by johnjoseph on 19/03/17.
  • Constructor Summary

    Constructors
    Constructor Description
    Pair​(A a_, B b_)  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object o)  
    A getA()  
    B getB()  
    int hashCode()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Pair

      public Pair​(A a_, B b_)
  • Method Details

    • getA

      public A getA()
    • getB

      public B getB()
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • hashCode

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