Class DataHolder<K,​V>

    • Constructor Detail

      • DataHolder

        protected DataHolder​(String name)
    • Method Detail

      • getDefaultValue

        protected V getDefaultValue()
      • onCreate

        protected void onCreate​(DataEntry<K,​V> entry)
      • onRemove

        protected void onRemove​(DataEntry<K,​V> entry)
      • onUpdate

        protected void onUpdate​(DataEntry<K,​V> entry)
      • getName

        public final String getName()
      • getOrCreateEntry

        public final DataEntry<K,​V> getOrCreateEntry​(K key)
      • removeEntry

        public final void removeEntry​(K key)
      • clear

        public final void clear()