01: /*
02: * Javolution - Java(TM) Solution for Real-Time and Embedded Systems
03: * Copyright (C) 2005 - Javolution (http://javolution.org/)
04: * All rights reserved.
05: *
06: * Permission to use, copy, modify, and distribute this software is
07: * freely granted, provided that this notice is preserved.
08: */
09: package j2me.util;
10:
11: public interface SortedSet extends Set {
12: Comparator comparator();
13:
14: SortedSet subSet(Object fromElement, Object toElement);
15:
16: SortedSet headSet(Object toElement);
17:
18: SortedSet tailSet(Object fromElement);
19:
20: Object first();
21:
22: Object last();
23: }
|