public class LongMapEntry<V> extends java.lang.Object implements PersistentLongMap.Entry<V>, LongComparable<PersistentLongMap.Entry<V>>
| Constructor and Description |
|---|
LongMapEntry(long k) |
LongMapEntry(long k,
V v) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(PersistentLongMap.Entry<V> o) |
boolean |
equals(java.lang.Object o) |
long |
getKey() |
V |
getValue() |
long |
getWeight() |
int |
hashCode() |
public LongMapEntry(long k)
public LongMapEntry(long k,
@Nullable
V v)
public V getValue()
getValue in interface PersistentLongMap.Entry<V>public long getKey()
getKey in interface PersistentLongMap.Entry<V>public long getWeight()
getWeight in interface LongComparable<PersistentLongMap.Entry<V>>public int compareTo(PersistentLongMap.Entry<V> o)
compareTo in interface java.lang.Comparable<PersistentLongMap.Entry<V>>public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object