@NotStorableClass public class FileTreeMap<K,V> extends AbstractMap<K,V> implements NavigableMap<K,V>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
FileTreeMap(HeapFileSetup setup,
Integer autoSaveMaxRecord) |
FileTreeMap(HeapFileSetup setup,
Integer autoSaveMaxRecord,
Comparator<? super K> comparator) |
FileTreeMap(HeapFileSetup setup,
Integer autoSaveMaxRecord,
Map<? extends K,? extends V> map) |
public FileTreeMap(HeapFileSetup setup, Integer autoSaveMaxRecord) throws HeapException
HeapException
public FileTreeMap(HeapFileSetup setup, Integer autoSaveMaxRecord, Comparator<? super K> comparator) throws HeapException
HeapException
public FileTreeMap(HeapFileSetup setup, Integer autoSaveMaxRecord, Map<? extends K,? extends V> map) throws HeapException
HeapException
public void startService(boolean removeFiles) throws HeapException
HeapException
public void stopService() throws HeapException
HeapException
public void flush() throws HeapException
HeapException
public void clearStandbyModification() throws HeapException
HeapException
public int size()
public boolean containsKey(Object key)
containsKey
in interface Map<K,V>
containsKey
in class AbstractMap<K,V>
public boolean containsValue(Object value)
containsValue
in interface Map<K,V>
containsValue
in class AbstractMap<K,V>
public Comparator<? super K> comparator()
comparator
in interface SortedMap<K,V>
public void clear()
public Map.Entry<K,V> firstEntry()
firstEntry
in interface NavigableMap<K,V>
public Map.Entry<K,V> pollFirstEntry()
pollFirstEntry
in interface NavigableMap<K,V>
public Map.Entry<K,V> pollLastEntry()
pollLastEntry
in interface NavigableMap<K,V>
public Map.Entry<K,V> lowerEntry(K key)
lowerEntry
in interface NavigableMap<K,V>
public Map.Entry<K,V> floorEntry(K key)
floorEntry
in interface NavigableMap<K,V>
public Map.Entry<K,V> ceilingEntry(K key)
ceilingEntry
in interface NavigableMap<K,V>
public K ceilingKey(K key)
ceilingKey
in interface NavigableMap<K,V>
public Map.Entry<K,V> higherEntry(K key)
higherEntry
in interface NavigableMap<K,V>
public NavigableSet<K> navigableKeySet()
navigableKeySet
in interface NavigableMap<K,V>
public NavigableSet<K> descendingKeySet()
descendingKeySet
in interface NavigableMap<K,V>
public Collection<V> values()
public NavigableMap<K,V> descendingMap()
descendingMap
in interface NavigableMap<K,V>
public NavigableMap<K,V> subMap(K fromKey, boolean fromInclusive, K toKey, boolean toInclusive)
subMap
in interface NavigableMap<K,V>
public NavigableMap<K,V> headMap(K toKey, boolean inclusive)
headMap
in interface NavigableMap<K,V>
public NavigableMap<K,V> tailMap(K fromKey, boolean inclusive)
tailMap
in interface NavigableMap<K,V>
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.