it.unimi.dsi.fastutil.shorts
Class Short2ByteSortedMaps.EmptySortedMap

java.lang.Object
  extended byit.unimi.dsi.fastutil.shorts.AbstractShort2ByteMap
      extended byit.unimi.dsi.fastutil.shorts.Short2ByteMaps.EmptyMap
          extended byit.unimi.dsi.fastutil.shorts.Short2ByteSortedMaps.EmptySortedMap
All Implemented Interfaces:
Cloneable, Map, Serializable, Short2ByteMap, Short2ByteSortedMap, SortedMap
Enclosing class:
Short2ByteSortedMaps

public static class Short2ByteSortedMaps.EmptySortedMap
extends Short2ByteMaps.EmptyMap
implements Short2ByteSortedMap, Serializable, Cloneable

An immutable class representing an empty type-specific sorted map.

This class may be useful to implement your own in case you subclass a type-specific sorted map.

See Also:
Serialized Form

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

headMap

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

tailMap

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

firstShortKey

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

lastShortKey

public short lastShortKey()
Specified by:
lastShortKey in interface Short2ByteSortedMap
See Also:
SortedMap.lastKey()

headMap

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

tailMap

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

subMap

public SortedMap subMap(Object ofrom,
                        Object oto)
Specified by:
subMap in interface SortedMap

firstKey

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

lastKey

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