Package org.infinispan.commons.util
Class KeyValueWithPrevious<K,V>
- java.lang.Object
-
- org.infinispan.commons.util.KeyValueWithPrevious<K,V>
-
@SerializeWith(KeyValueWithPreviousExternalizer.class) public class KeyValueWithPrevious<K,V> extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classKeyValueWithPrevious.KeyValueWithPreviousExternalizer
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-