org.terracotta.toolkit.collections
Interface ToolkitSortedMap<K extends Comparable<? super K>,V>
- All Superinterfaces:
- ConcurrentMap<K,V>, Destroyable, Map<K,V>, SortedMap<K,V>, ToolkitLockedObject, ToolkitMap<K,V>, ToolkitObject
public interface ToolkitSortedMap<K extends Comparable<? super K>,V>
- extends SortedMap<K,V>, ToolkitMap<K,V>
A toolkit sorted map. The sorted map performs all mutative operations under the write lock from
ToolkitLockedObject.getReadWriteLock()
and all read operations under the read lock from the same. Keys are
sorted according to the natural ordering of the keys. The keys should implement
Comparable
Consult the Toolkit class level docs for more info on behavior regarding destroy.
Trying to add values that are not serializable will throw NotSerializableRuntimeException
Note: Map.Entry pairs returned by methods do not support the Entry.setValue method.
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, equals, get, hashCode, isEmpty, put, putAll, remove, size |
Copyright © 2014 Terracotta, Inc.. All Rights Reserved.