it.unimi.dsi.fastutil.bytes
Interface Byte2ShortSortedMap

All Superinterfaces:
Byte2ShortMap, Map, SortedMap
All Known Implementing Classes:
Byte2ShortAVLTreeMap, Byte2ShortLinkedOpenHashMap, Byte2ShortRBTreeMap

public interface Byte2ShortSortedMap
extends Byte2ShortMap, 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.Byte2ShortMap
Byte2ShortMap.Entry
 
Method Summary
 byte firstByteKey()
           
 Byte2ShortSortedMap headMap(byte toKey)
           
 byte lastByteKey()
           
 Byte2ShortSortedMap subMap(byte fromKey, byte toKey)
           
 Byte2ShortSortedMap tailMap(byte fromKey)
           
 
Methods inherited from interface it.unimi.dsi.fastutil.bytes.Byte2ShortMap
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 Byte2ShortSortedMap subMap(byte fromKey,
                                  byte toKey)
See Also:
SortedMap.subMap(Object,Object)

headMap

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

tailMap

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

firstByteKey

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

lastByteKey

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