Package uk.ac.ebi.utils.collections
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>
Like
ObjectStore
, but with types and keys kept sorted.- Author:
- brandizi date: Mar 3, 2010
-
Field Summary
Fields inherited from class uk.ac.ebi.utils.collections.ObjectStore
size
-
Constructor Summary
ConstructorDescriptionSortedObjectStore
(Comparator<T> typeComparator, Comparator<K> keyComparator) -
Method Summary
Methods inherited from class uk.ac.ebi.utils.collections.ObjectStore
get, remove, size, toStringVerbose, typeKeys, types, values
-
Field Details
-
log
protected final org.slf4j.Logger log
-
-
Constructor Details
-
SortedObjectStore
public SortedObjectStore() -
SortedObjectStore
-
-
Method Details
-
getInternalTypes
- Overrides:
getInternalTypes
in classObjectStore<T,
K, V>
-
put
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 classObjectStore<T,
K, V>
-