it.unimi.dsi.fastutil.longs
Class Long2LongSortedMaps.EmptySortedMap

java.lang.Object
  extended byit.unimi.dsi.fastutil.longs.AbstractLong2LongMap
      extended byit.unimi.dsi.fastutil.longs.Long2LongMaps.EmptyMap
          extended byit.unimi.dsi.fastutil.longs.Long2LongSortedMaps.EmptySortedMap
All Implemented Interfaces:
Cloneable, Long2LongMap, Long2LongSortedMap, Map, Serializable, SortedMap
Enclosing class:
Long2LongSortedMaps

public static class Long2LongSortedMaps.EmptySortedMap
extends Long2LongMaps.EmptyMap
implements Long2LongSortedMap, 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.longs.AbstractLong2LongMap
AbstractLong2LongMap.BasicEntry
 
Nested classes inherited from class it.unimi.dsi.fastutil.longs.Long2LongMap
Long2LongMap.Entry
 
Field Summary
static long serialVersionUID
           
 
Method Summary
 Comparator comparator()
           
 Object firstKey()
           
 long firstLongKey()
           
 Long2LongSortedMap headMap(long to)
           
 SortedMap headMap(Object oto)
           
 Object lastKey()
           
 long lastLongKey()
           
 Long2LongSortedMap subMap(long from, long to)
           
 SortedMap subMap(Object ofrom, Object oto)
           
 Long2LongSortedMap tailMap(long from)
           
 SortedMap tailMap(Object ofrom)
           
 
Methods inherited from class it.unimi.dsi.fastutil.longs.Long2LongMaps.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.longs.AbstractLong2LongMap
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.longs.Long2LongMap
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 Long2LongSortedMap subMap(long from,
                                 long to)
Specified by:
subMap in interface Long2LongSortedMap
See Also:
SortedMap.subMap(Object,Object)

headMap

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

tailMap

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

firstLongKey

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

lastLongKey

public long lastLongKey()
Specified by:
lastLongKey in interface Long2LongSortedMap
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