KickJava   Java API By Example, From Geeks To Geeks.

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


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

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