java.lang.Object
org.apache.jena.atlas.lib.Pair<A,B>
- Direct Known Subclasses:
PairOfSameType
A pair
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd to a map using this pair as key-value.static <L,R> void Add to a map using the pair as key-value.car()cdr()static <L,R> Pair<L, R> create(L x, R y) booleanTest whether the arguments are equal to the elements of this pairbooleangetLeft()getRight()inthashCode()toString()
-
Constructor Details
-
Pair
-
-
Method Details
-
create
-
getLeft
-
getRight
-
car
-
cdr
-
addToMap
Add to a map using the pair as key-value. -
addToMap
Add to a map using this pair as key-value. -
hashCode
public int hashCode() -
equals
-
equalElts
Test whether the arguments are equal to the elements of this pair -
toString
-