prefuse.util.collections
Interface BooleanIntSortedMap

All Superinterfaces:
IntSortedMap
All Known Implementing Classes:
BooleanIntBitSetMap

public interface BooleanIntSortedMap
extends IntSortedMap

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

Author:
jeffrey heer

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

lastKey

public boolean lastKey()

containsKey

public boolean containsKey(boolean key)

valueRangeIterator

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

keyIterator

public LiteralIterator keyIterator()

keyRangeIterator

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

get

public int get(boolean key)

remove

public int remove(boolean key)

remove

public int remove(boolean key,
                  int value)

put

public int put(boolean key,
               int value)


Copyright ? 2007 Regents of the University of California