it.unimi.dsi.fastutil.shorts
Interface Short2ShortSortedMap

All Superinterfaces:
Map, Short2ShortMap, SortedMap
All Known Implementing Classes:
Short2ShortAVLTreeMap, Short2ShortLinkedOpenHashMap, Short2ShortRBTreeMap

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

headMap

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

tailMap

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

firstShortKey

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

lastShortKey

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