it.unimi.dsi.fastutil.shorts
Class Short2ReferenceSortedMaps.SynchronizedSortedMap

java.lang.Object
  extended byit.unimi.dsi.fastutil.shorts.AbstractShort2ReferenceMap
      extended byit.unimi.dsi.fastutil.shorts.Short2ReferenceMaps.SynchronizedMap
          extended byit.unimi.dsi.fastutil.shorts.Short2ReferenceSortedMaps.SynchronizedSortedMap
All Implemented Interfaces:
Map, Serializable, Short2ReferenceMap, Short2ReferenceSortedMap, SortedMap
Enclosing class:
Short2ReferenceSortedMaps

public static class Short2ReferenceSortedMaps.SynchronizedSortedMap
extends Short2ReferenceMaps.SynchronizedMap
implements Short2ReferenceSortedMap, Serializable

A synchronized wrapper class for sorted maps.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class it.unimi.dsi.fastutil.shorts.AbstractShort2ReferenceMap
AbstractShort2ReferenceMap.BasicEntry
 
Nested classes inherited from class it.unimi.dsi.fastutil.shorts.Short2ReferenceMap
Short2ReferenceMap.Entry
 
Field Summary
static long serialVersionUID
           
 
Method Summary
 Comparator comparator()
           
 Object firstKey()
           
 short firstShortKey()
           
 SortedMap headMap(Object to)
           
 Short2ReferenceSortedMap headMap(short to)
           
 Object lastKey()
           
 short lastShortKey()
           
 SortedMap subMap(Object from, Object to)
           
 Short2ReferenceSortedMap subMap(short from, short to)
           
 SortedMap tailMap(Object from)
           
 Short2ReferenceSortedMap tailMap(short from)
           
 
Methods inherited from class it.unimi.dsi.fastutil.shorts.Short2ReferenceMaps.SynchronizedMap
clear, containsKey, containsKey, containsValue, defaultReturnValue, defaultReturnValue, entrySet, get, get, keySet, put, put, putAll, putAll, remove, remove, size, toString, values
 
Methods inherited from class it.unimi.dsi.fastutil.shorts.AbstractShort2ReferenceMap
equals, getDefRetValue, hashCode, isEmpty, setDefRetValue
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface it.unimi.dsi.fastutil.shorts.Short2ReferenceMap
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 Short2ReferenceSortedMap subMap(short from,
                                       short to)
Specified by:
subMap in interface Short2ReferenceSortedMap
See Also:
SortedMap.subMap(Object,Object)

headMap

public Short2ReferenceSortedMap headMap(short to)
Specified by:
headMap in interface Short2ReferenceSortedMap
See Also:
SortedMap.headMap(Object)

tailMap

public Short2ReferenceSortedMap tailMap(short from)
Specified by:
tailMap in interface Short2ReferenceSortedMap
See Also:
SortedMap.tailMap(Object)

firstShortKey

public short firstShortKey()
Specified by:
firstShortKey in interface Short2ReferenceSortedMap
See Also:
SortedMap.firstKey()

lastShortKey

public short lastShortKey()
Specified by:
lastShortKey in interface Short2ReferenceSortedMap
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