Package org.apache.dubbo.common.utils
Class Pair<L,R>
java.lang.Object
org.apache.dubbo.common.utils.Pair<L,R>
- All Implemented Interfaces:
Serializable,Comparable<Pair<L,,R>> Map.Entry<L,R>
public final class Pair<L,R>
extends Object
implements Map.Entry<L,R>, Comparable<Pair<L,R>>, Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Pair
-
-
Method Details
-
of
-
nullPair
-
toMap
-
toMap
-
toPairs
-
getLeft
-
getRight
-
isNull
public boolean isNull() -
getKey
-
getValue
-
setValue
-
compareTo
- Specified by:
compareToin interfaceComparable<L>
-
hashCode
public int hashCode() -
equals
-
toString
-