public abstract class AbstractEntry<K,V> extends Object implements Comparable<AbstractEntry<K,V>>
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractEntry() |
|
AbstractEntry(K key,
org.onosproject.store.Timestamp timestamp)
Creates a new put entry.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(AbstractEntry<K,V> o) |
boolean |
equals(Object o) |
int |
hashCode() |
K |
key()
Returns the key of the entry.
|
org.onosproject.store.Timestamp |
timestamp()
Returns the timestamp of the event.
|
public AbstractEntry(K key, org.onosproject.store.Timestamp timestamp)
key - key of the entrytimestamp - timestamp of the put eventprotected AbstractEntry()
public K key()
public org.onosproject.store.Timestamp timestamp()
public int compareTo(AbstractEntry<K,V> o)
compareTo in interface Comparable<AbstractEntry<K,V>>Copyright © 2015. All rights reserved.