org.space4j.indexing
Class MultiSortedMap<V>

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.concurrent.ConcurrentSkipListMap<Key,java.util.Set<V>>
          extended by org.space4j.indexing.MultiSortedMap<V>
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.concurrent.ConcurrentMap<Key,java.util.Set<V>>, java.util.concurrent.ConcurrentNavigableMap<Key,java.util.Set<V>>, java.util.Map<Key,java.util.Set<V>>, java.util.NavigableMap<Key,java.util.Set<V>>, java.util.SortedMap<Key,java.util.Set<V>>

public class MultiSortedMap<V>
extends java.util.concurrent.ConcurrentSkipListMap<Key,java.util.Set<V>>

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Constructor Summary
MultiSortedMap(java.util.Comparator<Key> comparator)
           
 
Method Summary
 CollectionOfSets<V> ascendingMapValues()
           
 CollectionOfSets<V> descendingMapValues()
           
 java.util.Set<V> get(java.lang.Object... keys)
           
 java.util.Set<V> get(java.lang.Object key)
           
 CollectionOfSets<V> headMapValues(Key toKey)
           
 CollectionOfSets<V> headMapValues(Key toKey, boolean inclusive)
           
 void putObject(Key key, V value)
           
 java.util.Set<V> remove(java.lang.Object key)
           
 boolean removeObject(Key key, V value)
           
 CollectionOfSets<V> subMapValues(Key fromKey, boolean fromInclusive, Key toKey, boolean toInclusive)
           
 CollectionOfSets<V> subMapValues(Key fromKey, Key toKey)
           
 CollectionOfSets<V> tailMapValues(Key fromKey)
           
 CollectionOfSets<V> tailMapValues(Key fromKey, boolean inclusive)
           
 
Methods inherited from class java.util.concurrent.ConcurrentSkipListMap
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, equals, firstEntry, firstKey, floorEntry, floorKey, headMap, headMap, higherEntry, higherKey, isEmpty, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putIfAbsent, remove, replace, replace, size, subMap, subMap, tailMap, tailMap, values
 
Methods inherited from class java.util.AbstractMap
hashCode, putAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
hashCode, putAll
 

Constructor Detail

MultiSortedMap

public MultiSortedMap(java.util.Comparator<Key> comparator)
Method Detail

putObject

public void putObject(Key key,
                      V value)

removeObject

public boolean removeObject(Key key,
                            V value)

subMapValues

public CollectionOfSets<V> subMapValues(Key fromKey,
                                        boolean fromInclusive,
                                        Key toKey,
                                        boolean toInclusive)

subMapValues

public CollectionOfSets<V> subMapValues(Key fromKey,
                                        Key toKey)

tailMapValues

public CollectionOfSets<V> tailMapValues(Key fromKey)

tailMapValues

public CollectionOfSets<V> tailMapValues(Key fromKey,
                                         boolean inclusive)

headMapValues

public CollectionOfSets<V> headMapValues(Key toKey)

headMapValues

public CollectionOfSets<V> headMapValues(Key toKey,
                                         boolean inclusive)

descendingMapValues

public CollectionOfSets<V> descendingMapValues()

ascendingMapValues

public CollectionOfSets<V> ascendingMapValues()

remove

public java.util.Set<V> remove(java.lang.Object key)
Specified by:
remove in interface java.util.Map<Key,java.util.Set<V>>
Overrides:
remove in class java.util.concurrent.ConcurrentSkipListMap<Key,java.util.Set<V>>

get

public java.util.Set<V> get(java.lang.Object key)
Specified by:
get in interface java.util.Map<Key,java.util.Set<V>>
Overrides:
get in class java.util.concurrent.ConcurrentSkipListMap<Key,java.util.Set<V>>

get

public java.util.Set<V> get(java.lang.Object... keys)


Copyright © 2005 Space4J Team. All Rights Reserved.