Liferay 6.0.5

com.liferay.portal.kernel.concurrent
Class IncreasableEntry<K,V>

java.lang.Object
  extended by com.liferay.portal.kernel.concurrent.IncreasableEntry<K,V>
Direct Known Subclasses:
BufferedIncreasableEntry

public abstract class IncreasableEntry<K,V>
extends Object


Constructor Summary
IncreasableEntry(K key, V value)
           
 
Method Summary
abstract  V doIncrease(V originalValue, V deltaValue)
           
 boolean equals(Object obj)
           
 K getKey()
           
 V getValue()
           
 int hashCode()
           
 boolean increase(V deltaValue)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IncreasableEntry

public IncreasableEntry(K key,
                        V value)
Method Detail

doIncrease

public abstract V doIncrease(V originalValue,
                             V deltaValue)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getKey

public final K getKey()

getValue

public final V getValue()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

increase

public final boolean increase(V deltaValue)

toString

public String toString()
Overrides:
toString in class Object

Liferay 6.0.5