com.liferay.portal.kernel.concurrent
Class IncreasableEntry<K,V>
java.lang.Object
com.liferay.portal.kernel.concurrent.IncreasableEntry<K,V>
public abstract class IncreasableEntry<K,V>
- extends java.lang.Object
View Source
- Author:
- Shuyang Zhou
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
IncreasableEntry
public IncreasableEntry(K key,
V value)
doIncrease
public abstract V doIncrease(V originalValue,
V deltaValue)
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
getKey
public final K getKey()
getValue
public final V getValue()
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
increase
public final boolean increase(V deltaValue)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object