Package me.hsgamer.topper.core
Class DataEntry<K,V>
- java.lang.Object
-
- me.hsgamer.topper.core.DataEntry<K,V>
-
public final class DataEntry<K,V> extends Object
-
-
Constructor Summary
Constructors Constructor Description DataEntry(K key, DataHolder<K,V> holder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
DataHolder<K,V>
getHolder()
K
getKey()
V
getValue()
int
hashCode()
void
setValue(UnaryOperator<V> operator)
void
setValue(UnaryOperator<V> operator, boolean notify)
void
setValue(V value)
void
setValue(V value, boolean notify)
-
-
-
Constructor Detail
-
DataEntry
public DataEntry(K key, DataHolder<K,V> holder)
-
-
Method Detail
-
getKey
public K getKey()
-
getValue
public V getValue()
-
setValue
public void setValue(V value)
-
setValue
public void setValue(UnaryOperator<V> operator)
-
setValue
public void setValue(V value, boolean notify)
-
setValue
public void setValue(UnaryOperator<V> operator, boolean notify)
-
getHolder
public DataHolder<K,V> getHolder()
-
-