it.unimi.dsi.fastutil.bytes
Class Byte2ByteSortedMaps.EmptySortedMap

java.lang.Object
  extended byit.unimi.dsi.fastutil.bytes.AbstractByte2ByteMap
      extended byit.unimi.dsi.fastutil.bytes.Byte2ByteMaps.EmptyMap
          extended byit.unimi.dsi.fastutil.bytes.Byte2ByteSortedMaps.EmptySortedMap
All Implemented Interfaces:
Byte2ByteMap, Byte2ByteSortedMap, Cloneable, Map, Serializable, SortedMap
Enclosing class:
Byte2ByteSortedMaps

public static class Byte2ByteSortedMaps.EmptySortedMap
extends Byte2ByteMaps.EmptyMap
implements Byte2ByteSortedMap, 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.bytes.AbstractByte2ByteMap
AbstractByte2ByteMap.BasicEntry
 
Nested classes inherited from class it.unimi.dsi.fastutil.bytes.Byte2ByteMap
Byte2ByteMap.Entry
 
Field Summary
static long serialVersionUID
           
 
Method Summary
 Comparator comparator()
           
 byte firstByteKey()
           
 Object firstKey()
           
 Byte2ByteSortedMap headMap(byte to)
           
 SortedMap headMap(Object oto)
           
 byte lastByteKey()
           
 Object lastKey()
           
 Byte2ByteSortedMap subMap(byte from, byte to)
           
 SortedMap subMap(Object ofrom, Object oto)
           
 Byte2ByteSortedMap tailMap(byte from)
           
 SortedMap tailMap(Object ofrom)
           
 
Methods inherited from class it.unimi.dsi.fastutil.bytes.Byte2ByteMaps.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.bytes.AbstractByte2ByteMap
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.bytes.Byte2ByteMap
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 Byte2ByteSortedMap subMap(byte from,
                                 byte to)
Specified by:
subMap in interface Byte2ByteSortedMap
See Also:
SortedMap.subMap(Object,Object)

headMap

public Byte2ByteSortedMap headMap(byte to)
Specified by:
headMap in interface Byte2ByteSortedMap
See Also:
SortedMap.headMap(Object)

tailMap

public Byte2ByteSortedMap tailMap(byte from)
Specified by:
tailMap in interface Byte2ByteSortedMap
See Also:
SortedMap.tailMap(Object)

firstByteKey

public byte firstByteKey()
Specified by:
firstByteKey in interface Byte2ByteSortedMap
See Also:
SortedMap.firstKey()

lastByteKey

public byte lastByteKey()
Specified by:
lastByteKey in interface Byte2ByteSortedMap
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