1 package prefuse.util.collections; 2 3 import java.util.Iterator ; 4 5 10 public interface ObjectIntSortedMap extends IntSortedMap { 11 12 public static final Object MAX_KEY = new Object (); 13 public static final Object MIN_KEY = new Object (); 14 15 public Object firstKey(); 16 17 public Object lastKey(); 18 19 public boolean containsKey(Object key); 20 21 public IntIterator valueRangeIterator(Object fromKey, boolean fromInc, 22 Object toKey, boolean toInc); 23 24 public Iterator keyIterator(); 25 26 public Iterator keyRangeIterator(Object fromKey, boolean fromInc, 27 Object toKey, boolean toInc); 28 29 public int get(Object key); 30 31 public int remove(Object key); 32 33 public int remove(Object key, int val); 34 35 public int put(Object key, int value); 36 37 } | Popular Tags |