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 class
KeyValueWithPrevious.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:
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
-
-