it.unimi.dsi.fastutil.longs
Interface Long2LongSortedMap

All Superinterfaces:
Long2LongMap, Map, SortedMap
All Known Implementing Classes:
AbstractLong2LongSortedMap, Long2LongAVLTreeMap, Long2LongLinkedOpenHashMap, Long2LongRBTreeMap, Long2LongSortedMaps.EmptySortedMap, Long2LongSortedMaps.Singleton, Long2LongSortedMaps.SynchronizedSortedMap, Long2LongSortedMaps.UnmodifiableSortedMap

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

headMap

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

tailMap

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

firstLongKey

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

lastLongKey

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