KickJava   Java API By Example, From Geeks To Geeks.

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


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

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