it.unimi.dsi.fastutil.shorts
Interface Short2IntSortedMap

All Superinterfaces:
Map, Short2IntMap, SortedMap
All Known Implementing Classes:
AbstractShort2IntSortedMap, Short2IntAVLTreeMap, Short2IntLinkedOpenHashMap, Short2IntRBTreeMap, Short2IntSortedMaps.EmptySortedMap, Short2IntSortedMaps.Singleton, Short2IntSortedMaps.SynchronizedSortedMap

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

headMap

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

tailMap

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

firstShortKey

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

lastShortKey

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