All Downloads are FREE. Search and download functionalities are using the official Maven repository.

prefuse.util.collections.IntIntSortedMap Maven / Gradle / Ivy

Go to download

Prefuse is a set of software tools for creating rich interactive data visualizations in the Java programming language.

The newest version!
package prefuse.util.collections;

/**
 * Sorted map that maps from an int key to an int value.
 * 
 * @author jeffrey heer
 */
public interface IntIntSortedMap extends IntSortedMap {

    public int firstKey();

    public int lastKey();

    public boolean containsKey(int key);
    
    public IntIterator valueRangeIterator(int fromKey, boolean fromInc, 
                                          int toKey,   boolean toInc);
    
    public LiteralIterator keyIterator();
    
    public LiteralIterator keyRangeIterator(int fromKey, boolean fromInc, 
                                            int toKey,   boolean toInc);

    public int get(int key);

    public int remove(int key);
    
    public int remove(int key, int value);

    public int put(int key, int value);
    
    public int getLast(int key);
    
    public int getNextValue(int key, int value);
    
    public int getPreviousValue(int key, int value);
    
} // end of interface IntIntSortedMap




© 2015 - 2025 Weber Informatics LLC | Privacy Policy