01: package prefuse.util.collections;
02:
03: /**
04: * Sorted map that maps from a float key to an int value.
05: *
06: * @author <a href="http://jheer.org">jeffrey heer</a>
07: */
08: public interface FloatIntSortedMap extends IntSortedMap {
09:
10: public float firstKey();
11:
12: public float lastKey();
13:
14: public boolean containsKey(float key);
15:
16: public IntIterator valueRangeIterator(float fromKey,
17: boolean fromInc, float toKey, boolean toInc);
18:
19: public LiteralIterator keyIterator();
20:
21: public LiteralIterator keyRangeIterator(float fromKey,
22: boolean fromInc, float toKey, boolean toInc);
23:
24: public int get(float key);
25:
26: public int remove(float key);
27:
28: public int remove(float key, int value);
29:
30: public int put(float key, int value);
31:
32: } // end of interface FloatIntSortedMap
|