Class Pair<T1,T2>
java.lang.Object
org.tweetyproject.arg.adf.util.Pair<T1,T2>
- Type Parameters:
T1- typeT2- type
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
first
first -
second
second
-
-
Constructor Details
-
Pair
-
-
Method Details
-
of
Creates a newPairconsisting of two elements.This method is a convenience factory method that constructs a
Pairfrom the two provided elements.- Type Parameters:
T1- The type of the first element in the pair.T2- The type of the second element in the pair.- Parameters:
a- The first element of the pair.b- The second element of the pair.- Returns:
- A
Pair<T1, T2>containing the two specified elements.
-
hashCode
-
equals
-