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

int firstKey()

lastKey

int lastKey()

containsKey

boolean containsKey(int key)

valueRangeIterator

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

keyIterator

LiteralIterator keyIterator()

keyRangeIterator

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

get

int get(int key)

remove

int remove(int key)

remove

int remove(int key,
           int value)

put

int put(int key,
        int value)

getLast

int getLast(int key)

getNextValue

int getNextValue(int key,
                 int value)

getPreviousValue

int getPreviousValue(int key,
                     int value)


Copyright © 2007 Regents of the University of California