it.unimi.dsi.fastutil.longs
Interface Long2ShortSortedMap

All Superinterfaces:
Long2ShortMap, Map, SortedMap
All Known Implementing Classes:
AbstractLong2ShortSortedMap, Long2ShortAVLTreeMap, Long2ShortLinkedOpenHashMap, Long2ShortRBTreeMap, Long2ShortSortedMaps.EmptySortedMap, Long2ShortSortedMaps.Singleton, Long2ShortSortedMaps.SynchronizedSortedMap

public interface Long2ShortSortedMap
extends Long2ShortMap, 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.longs.Long2ShortMap
Long2ShortMap.Entry
 
Method Summary
 long firstLongKey()
           
 Long2ShortSortedMap headMap(long toKey)
           
 long lastLongKey()
           
 Long2ShortSortedMap subMap(long fromKey, long toKey)
           
 Long2ShortSortedMap tailMap(long fromKey)
           
 
Methods inherited from interface it.unimi.dsi.fastutil.longs.Long2ShortMap
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 Long2ShortSortedMap subMap(long fromKey,
                                  long toKey)
See Also:
SortedMap.subMap(Object,Object)

headMap

public Long2ShortSortedMap headMap(long toKey)
See Also:
SortedMap.headMap(Object)

tailMap

public Long2ShortSortedMap tailMap(long fromKey)
See Also:
SortedMap.tailMap(Object)

firstLongKey

public long firstLongKey()
See Also:
SortedMap.firstKey()

lastLongKey

public long lastLongKey()
See Also:
SortedMap.lastKey()