prefuse.util.collections
Interface LongIntSortedMap

All Superinterfaces:
IntSortedMap
All Known Implementing Classes:
LongIntTreeMap

public interface LongIntSortedMap
extends IntSortedMap

Sorted map that maps from a long key to an int value.

Author:
jeffrey heer

Method Summary
 boolean containsKey(long key)
           
 long firstKey()
           
 int get(long key)
           
 LiteralIterator keyIterator()
           
 LiteralIterator keyRangeIterator(long fromKey, boolean fromInc, long toKey, boolean toInc)
           
 long lastKey()
           
 int put(long key, int value)
           
 int remove(long key)
           
 int remove(long key, int value)
           
 IntIterator valueRangeIterator(long fromKey, boolean fromInc, long toKey, boolean toInc)
           
 
Methods inherited from interface prefuse.util.collections.IntSortedMap
clear, comparator, containsValue, getMaximum, getMedian, getMinimum, getUniqueCount, isAllowDuplicates, isEmpty, size, valueIterator
 

Method Detail

firstKey

public long firstKey()

lastKey

public long lastKey()

containsKey

public boolean containsKey(long key)

valueRangeIterator

public IntIterator valueRangeIterator(long fromKey,
                                      boolean fromInc,
                                      long toKey,
                                      boolean toInc)

keyIterator

public LiteralIterator keyIterator()

keyRangeIterator

public LiteralIterator keyRangeIterator(long fromKey,
                                        boolean fromInc,
                                        long toKey,
                                        boolean toInc)

get

public int get(long key)

remove

public int remove(long key)

remove

public int remove(long key,
                  int value)

put

public int put(long key,
               int value)


Copyright ? 2007 Regents of the University of California