it.unimi.dsi.fastutil.shorts
Interface Short2LongSortedMap

All Superinterfaces:
Map, Short2LongMap, SortedMap
All Known Implementing Classes:
Short2LongAVLTreeMap, Short2LongLinkedOpenHashMap, Short2LongRBTreeMap

public interface Short2LongSortedMap
extends Short2LongMap, 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.shorts.Short2LongMap
Short2LongMap.Entry
 
Method Summary
 short firstShortKey()
           
 Short2LongSortedMap headMap(short toKey)
           
 short lastShortKey()
           
 Short2LongSortedMap subMap(short fromKey, short toKey)
           
 Short2LongSortedMap tailMap(short fromKey)
           
 
Methods inherited from interface it.unimi.dsi.fastutil.shorts.Short2LongMap
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 Short2LongSortedMap subMap(short fromKey,
                                  short toKey)
See Also:
SortedMap.subMap(Object,Object)

headMap

public Short2LongSortedMap headMap(short toKey)
See Also:
SortedMap.headMap(Object)

tailMap

public Short2LongSortedMap tailMap(short fromKey)
See Also:
SortedMap.tailMap(Object)

firstShortKey

public short firstShortKey()
See Also:
SortedMap.firstKey()

lastShortKey

public short lastShortKey()
See Also:
SortedMap.lastKey()