2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_util_SortedSet__
5 #define __java_util_SortedSet__
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
13 class java::util::SortedSet
: public ::java::lang::Object
17 virtual ::java::util::Comparator
* comparator() = 0;
18 virtual ::java::lang::Object
* first() = 0;
19 virtual ::java::util::SortedSet
* headSet(::java::lang::Object
*) = 0;
20 virtual ::java::lang::Object
* last() = 0;
21 virtual ::java::util::SortedSet
* subSet(::java::lang::Object
*, ::java::lang::Object
*) = 0;
22 virtual ::java::util::SortedSet
* tailSet(::java::lang::Object
*) = 0;
23 virtual jboolean
add(::java::lang::Object
*) = 0;
24 virtual jboolean
addAll(::java::util::Collection
*) = 0;
25 virtual void clear() = 0;
26 virtual jboolean
contains(::java::lang::Object
*) = 0;
27 virtual jboolean
containsAll(::java::util::Collection
*) = 0;
28 virtual jboolean
isEmpty() = 0;
29 virtual ::java::util::Iterator
* iterator() = 0;
30 virtual jboolean
remove(::java::lang::Object
*) = 0;
31 virtual jboolean
removeAll(::java::util::Collection
*) = 0;
32 virtual jboolean
retainAll(::java::util::Collection
*) = 0;
33 virtual jint
size() = 0;
34 virtual JArray
< ::java::lang::Object
* > * toArray() = 0;
35 virtual JArray
< ::java::lang::Object
* > * toArray(JArray
< ::java::lang::Object
* > *) = 0;
36 static ::java::lang::Class
class$
;
37 } __attribute__ ((java_interface
));
39 #endif // __java_util_SortedSet__