it.unimi.dsi.fastutil.shorts
Interface Short2ObjectSortedMap

All Superinterfaces:
Map, Short2ObjectMap, SortedMap
All Known Implementing Classes:
AbstractShort2ObjectSortedMap, Short2ObjectAVLTreeMap, Short2ObjectLinkedOpenHashMap, Short2ObjectRBTreeMap, Short2ObjectSortedMaps.EmptySortedMap, Short2ObjectSortedMaps.Singleton, Short2ObjectSortedMaps.SynchronizedSortedMap, Short2ObjectSortedMaps.UnmodifiableSortedMap

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

headMap

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

tailMap

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

firstShortKey

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

lastShortKey

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