Package org.infinispan.commons.util
Class KeyValueWithPrevious<K,V>
- java.lang.Object
-
- org.infinispan.commons.util.KeyValueWithPrevious<K,V>
-
- All Implemented Interfaces:
java.io.Serializable
public class KeyValueWithPrevious<K,V> extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description KeyValueWithPrevious(K key, V value, V prev)
-
-
-
Method Detail
-
getKey
public K getKey()
-
getValue
public V getValue()
-
getPrev
public V getPrev()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-