it.unimi.dsi.fastutil.chars
Class Char2ShortSortedMaps.EmptySortedMap

java.lang.Object
  extended byit.unimi.dsi.fastutil.chars.AbstractChar2ShortMap
      extended byit.unimi.dsi.fastutil.chars.Char2ShortMaps.EmptyMap
          extended byit.unimi.dsi.fastutil.chars.Char2ShortSortedMaps.EmptySortedMap
All Implemented Interfaces:
Char2ShortMap, Char2ShortSortedMap, Cloneable, Map, Serializable, SortedMap
Enclosing class:
Char2ShortSortedMaps

public static class Char2ShortSortedMaps.EmptySortedMap
extends Char2ShortMaps.EmptyMap
implements Char2ShortSortedMap, 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.chars.AbstractChar2ShortMap
AbstractChar2ShortMap.BasicEntry
 
Nested classes inherited from class it.unimi.dsi.fastutil.chars.Char2ShortMap
Char2ShortMap.Entry
 
Field Summary
static long serialVersionUID
           
 
Method Summary
 Comparator comparator()
           
 char firstCharKey()
           
 Object firstKey()
           
 Char2ShortSortedMap headMap(char to)
           
 SortedMap headMap(Object oto)
           
 char lastCharKey()
           
 Object lastKey()
           
 Char2ShortSortedMap subMap(char from, char to)
           
 SortedMap subMap(Object ofrom, Object oto)
           
 Char2ShortSortedMap tailMap(char from)
           
 SortedMap tailMap(Object ofrom)
           
 
Methods inherited from class it.unimi.dsi.fastutil.chars.Char2ShortMaps.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.chars.AbstractChar2ShortMap
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.chars.Char2ShortMap
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 Char2ShortSortedMap subMap(char from,
                                  char to)
Specified by:
subMap in interface Char2ShortSortedMap
See Also:
SortedMap.subMap(Object,Object)

headMap

public Char2ShortSortedMap headMap(char to)
Specified by:
headMap in interface Char2ShortSortedMap
See Also:
SortedMap.headMap(Object)

tailMap

public Char2ShortSortedMap tailMap(char from)
Specified by:
tailMap in interface Char2ShortSortedMap
See Also:
SortedMap.tailMap(Object)

firstCharKey

public char firstCharKey()
Specified by:
firstCharKey in interface Char2ShortSortedMap
See Also:
SortedMap.firstKey()

lastCharKey

public char lastCharKey()
Specified by:
lastCharKey in interface Char2ShortSortedMap
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