Package org.apache.commons.lang3.tuple
Class Pair.PairAdapter<L,R>
- java.lang.Object
-
- org.apache.commons.lang3.tuple.Pair<L,R>
-
- org.apache.commons.lang3.tuple.Pair.PairAdapter<L,R>
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Fields inherited from class org.apache.commons.lang3.tuple.Pair
EMPTY_ARRAY
-
-
Constructor Summary
Constructors Modifier Constructor Description private
PairAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description L
getLeft()
Gets the left element from this pair.R
getRight()
Gets the right element from this pair.R
setValue(R value)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getLeft
public L getLeft()
Description copied from class:Pair
Gets the left element from this pair.
When treated as a key-value pair, this is the key.
-
getRight
public R getRight()
Description copied from class:Pair
Gets the right element from this pair.
When treated as a key-value pair, this is the value.
-
-