Class SimpleDataEntry<K,V>

java.lang.Object
me.hsgamer.topper.data.simple.SimpleDataEntry<K,V>
All Implemented Interfaces:
me.hsgamer.topper.data.core.DataEntry<K,V>

public class SimpleDataEntry<K,V> extends Object implements me.hsgamer.topper.data.core.DataEntry<K,V>
  • Constructor Details

  • Method Details

    • getKey

      public K getKey()
      Specified by:
      getKey in interface me.hsgamer.topper.data.core.DataEntry<K,V>
    • getValue

      public V getValue()
      Specified by:
      getValue in interface me.hsgamer.topper.data.core.DataEntry<K,V>
    • setValue

      public void setValue(UnaryOperator<V> operator, boolean notify)
      Specified by:
      setValue in interface me.hsgamer.topper.data.core.DataEntry<K,V>
    • getHolder

      public me.hsgamer.topper.data.core.DataHolder<K,V> getHolder()
      Specified by:
      getHolder in interface me.hsgamer.topper.data.core.DataEntry<K,V>
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object