it.unimi.dsi.fastutil.longs
Class Long2ObjectSortedMaps.SynchronizedSortedMap

java.lang.Object
  extended byit.unimi.dsi.fastutil.longs.AbstractLong2ObjectMap
      extended byit.unimi.dsi.fastutil.longs.Long2ObjectMaps.SynchronizedMap
          extended byit.unimi.dsi.fastutil.longs.Long2ObjectSortedMaps.SynchronizedSortedMap
All Implemented Interfaces:
Long2ObjectMap, Long2ObjectSortedMap, Map, Serializable, SortedMap
Enclosing class:
Long2ObjectSortedMaps

public static class Long2ObjectSortedMaps.SynchronizedSortedMap
extends Long2ObjectMaps.SynchronizedMap
implements Long2ObjectSortedMap, Serializable

A synchronized wrapper class for sorted maps.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class it.unimi.dsi.fastutil.longs.AbstractLong2ObjectMap
AbstractLong2ObjectMap.BasicEntry
 
Nested classes inherited from class it.unimi.dsi.fastutil.longs.Long2ObjectMap
Long2ObjectMap.Entry
 
Field Summary
static long serialVersionUID
           
 
Method Summary
 Comparator comparator()
           
 Object firstKey()
           
 long firstLongKey()
           
 Long2ObjectSortedMap headMap(long to)
           
 SortedMap headMap(Object to)
           
 Object lastKey()
           
 long lastLongKey()
           
 Long2ObjectSortedMap subMap(long from, long to)
           
 SortedMap subMap(Object from, Object to)
           
 Long2ObjectSortedMap tailMap(long from)
           
 SortedMap tailMap(Object from)
           
 
Methods inherited from class it.unimi.dsi.fastutil.longs.Long2ObjectMaps.SynchronizedMap
clear, containsKey, containsKey, containsValue, defaultReturnValue, defaultReturnValue, entrySet, get, get, keySet, put, put, putAll, remove, remove, size, toString, values
 
Methods inherited from class it.unimi.dsi.fastutil.longs.AbstractLong2ObjectMap
equals, getDefRetValue, hashCode, isEmpty, putAll, setDefRetValue
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface it.unimi.dsi.fastutil.longs.Long2ObjectMap
containsKey, defaultReturnValue, defaultReturnValue, get, getDefRetValue, put, remove, setDefRetValue
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Method Detail

comparator

public Comparator comparator()
Specified by:
comparator in interface SortedMap

subMap

public Long2ObjectSortedMap subMap(long from,
                                   long to)
Specified by:
subMap in interface Long2ObjectSortedMap
See Also:
SortedMap.subMap(Object,Object)

headMap

public Long2ObjectSortedMap headMap(long to)
Specified by:
headMap in interface Long2ObjectSortedMap
See Also:
SortedMap.headMap(Object)

tailMap

public Long2ObjectSortedMap tailMap(long from)
Specified by:
tailMap in interface Long2ObjectSortedMap
See Also:
SortedMap.tailMap(Object)

firstLongKey

public long firstLongKey()
Specified by:
firstLongKey in interface Long2ObjectSortedMap
See Also:
SortedMap.firstKey()

lastLongKey

public long lastLongKey()
Specified by:
lastLongKey in interface Long2ObjectSortedMap
See Also:
SortedMap.lastKey()

firstKey

public Object firstKey()
Specified by:
firstKey in interface SortedMap

lastKey

public Object lastKey()
Specified by:
lastKey in interface SortedMap

subMap

public SortedMap subMap(Object from,
                        Object to)
Specified by:
subMap in interface SortedMap

headMap

public SortedMap headMap(Object to)
Specified by:
headMap in interface SortedMap

tailMap

public SortedMap tailMap(Object from)
Specified by:
tailMap in interface SortedMap