KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > prefuse > util > collections > DoubleIntSortedMap


1 package prefuse.util.collections;
2
3
4 /**
5  * Sorted map that maps from a double key to an int value.
6  *
7  * @author <a HREF="http://jheer.org">jeffrey heer</a>
8  */

9 public interface DoubleIntSortedMap extends IntSortedMap {
10
11     public double firstKey();
12
13     public double lastKey();
14
15     public boolean containsKey(double key);
16     
17     public IntIterator valueRangeIterator(double fromKey, boolean fromInc,
18                                           double toKey, boolean toInc);
19     
20     public LiteralIterator keyIterator();
21     
22     public LiteralIterator keyRangeIterator(double fromKey, boolean fromInc,
23                                             double toKey, boolean toInc);
24
25     public int get(double key);
26
27     public int remove(double key);
28     
29     public int remove(double key, int value);
30
31     public int put(double key, int value);
32     
33 } // end of interface DoubleIntSortedMap
34
Popular Tags