prefuse.util.collections
Interface ObjectIntSortedMap

All Superinterfaces:
IntSortedMap
All Known Implementing Classes:
ObjectIntTreeMap

public interface ObjectIntSortedMap
extends IntSortedMap

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

Author:
jeffrey heer

Field Summary
static java.lang.Object MAX_KEY
           
static java.lang.Object MIN_KEY
           
 
Method Summary
 boolean containsKey(java.lang.Object key)
           
 java.lang.Object firstKey()
           
 int get(java.lang.Object key)
           
 java.util.Iterator keyIterator()
           
 java.util.Iterator keyRangeIterator(java.lang.Object fromKey, boolean fromInc, java.lang.Object toKey, boolean toInc)
           
 java.lang.Object lastKey()
           
 int put(java.lang.Object key, int value)
           
 int remove(java.lang.Object key)
           
 int remove(java.lang.Object key, int val)
           
 IntIterator valueRangeIterator(java.lang.Object fromKey, boolean fromInc, java.lang.Object toKey, boolean toInc)
           
 
Methods inherited from interface prefuse.util.collections.IntSortedMap
clear, comparator, containsValue, getMaximum, getMedian, getMinimum, getUniqueCount, isAllowDuplicates, isEmpty, size, valueIterator
 

Field Detail

MAX_KEY

static final java.lang.Object MAX_KEY

MIN_KEY

static final java.lang.Object MIN_KEY
Method Detail

firstKey

java.lang.Object firstKey()

lastKey

java.lang.Object lastKey()

containsKey

boolean containsKey(java.lang.Object key)

valueRangeIterator

IntIterator valueRangeIterator(java.lang.Object fromKey,
                               boolean fromInc,
                               java.lang.Object toKey,
                               boolean toInc)

keyIterator

java.util.Iterator keyIterator()

keyRangeIterator

java.util.Iterator keyRangeIterator(java.lang.Object fromKey,
                                    boolean fromInc,
                                    java.lang.Object toKey,
                                    boolean toInc)

get

int get(java.lang.Object key)

remove

int remove(java.lang.Object key)

remove

int remove(java.lang.Object key,
           int val)

put

int put(java.lang.Object key,
        int value)


Copyright © 2007 Regents of the University of California