it.unimi.dsi.fastutil.ints
Class Int2IntSortedMaps.EmptySortedMap

java.lang.Object
  extended byit.unimi.dsi.fastutil.ints.AbstractInt2IntMap
      extended byit.unimi.dsi.fastutil.ints.Int2IntMaps.EmptyMap
          extended byit.unimi.dsi.fastutil.ints.Int2IntSortedMaps.EmptySortedMap
All Implemented Interfaces:
Cloneable, Int2IntMap, Int2IntSortedMap, Map, Serializable, SortedMap
Enclosing class:
Int2IntSortedMaps

public static class Int2IntSortedMaps.EmptySortedMap
extends Int2IntMaps.EmptyMap
implements Int2IntSortedMap, 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.ints.AbstractInt2IntMap
AbstractInt2IntMap.BasicEntry
 
Nested classes inherited from class it.unimi.dsi.fastutil.ints.Int2IntMap
Int2IntMap.Entry
 
Field Summary
static long serialVersionUID
           
 
Method Summary
 Comparator comparator()
           
 int firstIntKey()
           
 Object firstKey()
           
 Int2IntSortedMap headMap(int to)
           
 SortedMap headMap(Object oto)
           
 int lastIntKey()
           
 Object lastKey()
           
 Int2IntSortedMap subMap(int from, int to)
           
 SortedMap subMap(Object ofrom, Object oto)
           
 Int2IntSortedMap tailMap(int from)
           
 SortedMap tailMap(Object ofrom)
           
 
Methods inherited from class it.unimi.dsi.fastutil.ints.Int2IntMaps.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.ints.AbstractInt2IntMap
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.ints.Int2IntMap
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 Int2IntSortedMap subMap(int from,
                               int to)
Specified by:
subMap in interface Int2IntSortedMap
See Also:
SortedMap.subMap(Object,Object)

headMap

public Int2IntSortedMap headMap(int to)
Specified by:
headMap in interface Int2IntSortedMap
See Also:
SortedMap.headMap(Object)

tailMap

public Int2IntSortedMap tailMap(int from)
Specified by:
tailMap in interface Int2IntSortedMap
See Also:
SortedMap.tailMap(Object)

firstIntKey

public int firstIntKey()
Specified by:
firstIntKey in interface Int2IntSortedMap
See Also:
SortedMap.firstKey()

lastIntKey

public int lastIntKey()
Specified by:
lastIntKey in interface Int2IntSortedMap
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