prefuse.util.collections
Interface DoubleIntSortedMap

All Superinterfaces:
IntSortedMap
All Known Implementing Classes:
DoubleIntTreeMap

public interface DoubleIntSortedMap
extends IntSortedMap

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

Author:
jeffrey heer

Method Summary
 boolean containsKey(double key)
           
 double firstKey()
           
 int get(double key)
           
 LiteralIterator keyIterator()
           
 LiteralIterator keyRangeIterator(double fromKey, boolean fromInc, double toKey, boolean toInc)
           
 double lastKey()
           
 int put(double key, int value)
           
 int remove(double key)
           
 int remove(double key, int value)
           
 IntIterator valueRangeIterator(double fromKey, boolean fromInc, double 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 double firstKey()

lastKey

public double lastKey()

containsKey

public boolean containsKey(double key)

valueRangeIterator

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

keyIterator

public LiteralIterator keyIterator()

keyRangeIterator

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

get

public int get(double key)

remove

public int remove(double key)

remove

public int remove(double key,
                  int value)

put

public int put(double key,
               int value)


Copyright ? 2007 Regents of the University of California