@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
HeapExceptionpublic FileTreeMap(HeapFileSetup setup, Integer autoSaveMaxRecord, Comparator<? super K> comparator) throws HeapException
HeapExceptionpublic FileTreeMap(HeapFileSetup setup, Integer autoSaveMaxRecord, Map<? extends K,? extends V> map) throws HeapException
HeapExceptionpublic void startService(boolean removeFiles)
throws HeapException
HeapExceptionpublic void stopService()
throws HeapException
HeapExceptionpublic void flush()
throws HeapException
HeapExceptionpublic void clearStandbyModification()
throws HeapException
HeapExceptionpublic 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.