prefuse.util.collections
Interface IntIntSortedMap

All Superinterfaces:
IntSortedMap
All Known Implementing Classes:
IntIntTreeMap

public interface IntIntSortedMap
extends IntSortedMap

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

Author:
jeffrey heer

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

lastKey

public int lastKey()

containsKey

public boolean containsKey(int key)

valueRangeIterator

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

keyIterator

public LiteralIterator keyIterator()

keyRangeIterator

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

get

public int get(int key)

remove

public int remove(int key)

remove

public int remove(int key,
                  int value)

put

public int put(int key,
               int value)

getLast

public int getLast(int key)

getNextValue

public int getNextValue(int key,
                        int value)

getPreviousValue

public int getPreviousValue(int key,
                            int value)


Copyright ? 2007 Regents of the University of California