it.unimi.dsi.fastutil.bytes
Interface Byte2ReferenceSortedMap

All Superinterfaces:
Byte2ReferenceMap, Map, SortedMap
All Known Implementing Classes:
Byte2ReferenceAVLTreeMap, Byte2ReferenceLinkedOpenHashMap, Byte2ReferenceRBTreeMap

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

headMap

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

tailMap

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

firstByteKey

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

lastByteKey

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