it.unimi.dsi.fastutil.bytes
Interface Byte2ByteSortedMap

All Superinterfaces:
Byte2ByteMap, Map, SortedMap
All Known Implementing Classes:
AbstractByte2ByteSortedMap, Byte2ByteAVLTreeMap, Byte2ByteLinkedOpenHashMap, Byte2ByteRBTreeMap, Byte2ByteSortedMaps.EmptySortedMap, Byte2ByteSortedMaps.Singleton, Byte2ByteSortedMaps.SynchronizedSortedMap

public interface Byte2ByteSortedMap
extends Byte2ByteMap, SortedMap

A type-specific SortedMap; provides some additional methods that use polymorphism to reduce type juggling.

See Also:
SortedMap

Nested Class Summary
 
Nested classes inherited from class it.unimi.dsi.fastutil.bytes.Byte2ByteMap
Byte2ByteMap.Entry
 
Method Summary
 byte firstByteKey()
           
 Byte2ByteSortedMap headMap(byte toKey)
           
 byte lastByteKey()
           
 Byte2ByteSortedMap subMap(byte fromKey, byte toKey)
           
 Byte2ByteSortedMap tailMap(byte fromKey)
           
 
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
 
Methods inherited from interface java.util.SortedMap
comparator, firstKey, headMap, lastKey, subMap, tailMap
 

Method Detail

subMap

public Byte2ByteSortedMap subMap(byte fromKey,
                                 byte toKey)
See Also:
SortedMap.subMap(Object,Object)

headMap

public Byte2ByteSortedMap headMap(byte toKey)
See Also:
SortedMap.headMap(Object)

tailMap

public Byte2ByteSortedMap tailMap(byte fromKey)
See Also:
SortedMap.tailMap(Object)

firstByteKey

public byte firstByteKey()
See Also:
SortedMap.firstKey()

lastByteKey

public byte lastByteKey()
See Also:
SortedMap.lastKey()