Class Pair
java.lang.Object
org.openprovenance.prov.validation.matrix.Pair
A Pair is a container for two coordinates, the "first" and the "second" one.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Pair
public Pair(int first, int second) Constructor for Pair.- Parameters:
first- must be different from nullsecond- must be different from null
-
Pair
public Pair(int first, int second, int value)
-
-
Method Details
-
getFirst
public int getFirst()Returns the first.- Returns:
- int
-
getSecond
public int getSecond()Returns the second.- Returns:
- int
-
getValue
public int getValue() -
equals
-
hashCode
-
toString
-