Class Pair<T1,T2>

java.lang.Object
com.kheops.util.Pair<T1,T2>

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

    • first

      public T1 first
    • second

      public T2 second
  • Constructor Details

    • Pair

      public Pair()
    • Pair

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

    • getFirst

      public T1 getFirst()
    • setFirst

      public void setFirst(T1 first)
    • getSecond

      public T2 getSecond()
    • setSecond

      public void setSecond(T2 second)
    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object