PR lto/42531
[official-gcc.git] / libjava / java / util / Queue.h
blobc4e8f05736b6de46371f7a89466c2e964443855f
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_util_Queue__
5 #define __java_util_Queue__
7 #pragma interface
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
13 class java::util::Queue : public ::java::lang::Object
16 public:
17 virtual jboolean add(::java::lang::Object *) = 0;
18 virtual jboolean offer(::java::lang::Object *) = 0;
19 virtual ::java::lang::Object * remove() = 0;
20 virtual ::java::lang::Object * poll() = 0;
21 virtual ::java::lang::Object * element() = 0;
22 virtual ::java::lang::Object * peek() = 0;
23 virtual jboolean addAll(::java::util::Collection *) = 0;
24 virtual void clear() = 0;
25 virtual jboolean contains(::java::lang::Object *) = 0;
26 virtual jboolean containsAll(::java::util::Collection *) = 0;
27 virtual jboolean isEmpty() = 0;
28 virtual ::java::util::Iterator * iterator() = 0;
29 virtual jboolean remove(::java::lang::Object *) = 0;
30 virtual jboolean removeAll(::java::util::Collection *) = 0;
31 virtual jboolean retainAll(::java::util::Collection *) = 0;
32 virtual jint size() = 0;
33 virtual JArray< ::java::lang::Object * > * toArray() = 0;
34 virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *) = 0;
35 static ::java::lang::Class class$;
36 } __attribute__ ((java_interface));
38 #endif // __java_util_Queue__