Class SortedObjectStore<T,K,V>

java.lang.Object
uk.ac.ebi.utils.collections.ObjectStore<T,K,V>
uk.ac.ebi.utils.collections.SortedObjectStore<T,K,V>

public class SortedObjectStore<T,K,V> extends ObjectStore<T,K,V>
Like ObjectStore, but with types and keys kept sorted.
Author:
brandizi date: Mar 3, 2010
  • Field Details

    • log

      protected final org.slf4j.Logger log
  • Constructor Details

    • SortedObjectStore

      public SortedObjectStore()
    • SortedObjectStore

      public SortedObjectStore(Comparator<T> typeComparator, Comparator<K> keyComparator)
  • Method Details

    • getInternalTypes

      protected Map<T,Map<K,V>> getInternalTypes()
      Overrides:
      getInternalTypes in class ObjectStore<T,K,V>
    • put

      public void put(T type, K key, V value)
      Description copied from class: ObjectStore
      Stores an object, identified by a type and an identifier If value is null deletes the entry.
      Overrides:
      put in class ObjectStore<T,K,V>