KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > j2me > util > SortedMap


1 /*
2  * Javolution - Java(TM) Solution for Real-Time and Embedded Systems
3  * Copyright (C) 2005 - Javolution (http://javolution.org/)
4  * All rights reserved.
5  *
6  * Permission to use, copy, modify, and distribute this software is
7  * freely granted, provided that this notice is preserved.
8  */

9 package j2me.util;
10
11 public interface SortedMap extends Map {
12     Comparator comparator();
13
14     SortedMap subMap(Object JavaDoc fromKey, Object JavaDoc toKey);
15
16     SortedMap headMap(Object JavaDoc toKey);
17
18     SortedMap tailMap(Object JavaDoc fromKey);
19
20     Object JavaDoc firstKey();
21
22     Object JavaDoc lastKey();
23 }
Popular Tags