KickJava   Java API By Example, From Geeks To Geeks.

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


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

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