Class ConcurrentLongLongPairHashMap.LongPair
- java.lang.Object
-
- org.apache.bookkeeper.util.collections.ConcurrentLongLongPairHashMap.LongPair
-
- All Implemented Interfaces:
java.lang.Comparable<ConcurrentLongLongPairHashMap.LongPair>
- Enclosing class:
- ConcurrentLongLongPairHashMap
public static class ConcurrentLongLongPairHashMap.LongPair extends java.lang.Object implements java.lang.Comparable<ConcurrentLongLongPairHashMap.LongPair>
A pair of long values.
-
-
Constructor Summary
Constructors Constructor Description LongPair(long first, long second)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(ConcurrentLongLongPairHashMap.LongPair o)
boolean
equals(java.lang.Object obj)
int
hashCode()
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(ConcurrentLongLongPairHashMap.LongPair o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<ConcurrentLongLongPairHashMap.LongPair>
-
-