Package qilin.util

Class Pair<T1,T2>

java.lang.Object
qilin.util.Pair<T1,T2>

public class Pair<T1,T2> extends Object
  • Constructor Details

    • Pair

      public Pair(T1 first, T2 second)
  • Method Details

    • getFirst

      public T1 getFirst()
    • getSecond

      public T2 getSecond()
    • hashCode

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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object