Class Tuple<A,B>

java.lang.Object
org.snpeff.util.Tuple<A,B>
Type Parameters:
A -
B -

public class Tuple<A,B> extends Object
Tuple: A pair of objects
Author:
pablocingolani
  • Field Details

    • first

      public final A first
    • second

      public final B second
  • Constructor Details

    • Tuple

      public Tuple(A first, B second)
  • Method Details

    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • getFirst

      public A getFirst()
    • getSecond

      public B getSecond()
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object