it.unimi.dsi.fastutil.longs
Interface Long2ReferenceSortedMap

All Superinterfaces:
Long2ReferenceMap, Map, SortedMap
All Known Implementing Classes:
AbstractLong2ReferenceSortedMap, Long2ReferenceAVLTreeMap, Long2ReferenceLinkedOpenHashMap, Long2ReferenceRBTreeMap, Long2ReferenceSortedMaps.EmptySortedMap, Long2ReferenceSortedMaps.Singleton, Long2ReferenceSortedMaps.SynchronizedSortedMap, Long2ReferenceSortedMaps.UnmodifiableSortedMap

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

headMap

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

tailMap

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

firstLongKey

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

lastLongKey

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