2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_util_Deque__
5 #define __java_util_Deque__
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
13 class java::util::Deque
: public ::java::lang::Object
17 virtual void addFirst(::java::lang::Object
*) = 0;
18 virtual void addLast(::java::lang::Object
*) = 0;
19 virtual jboolean
offerFirst(::java::lang::Object
*) = 0;
20 virtual jboolean
offerLast(::java::lang::Object
*) = 0;
21 virtual ::java::lang::Object
* removeFirst() = 0;
22 virtual ::java::lang::Object
* removeLast() = 0;
23 virtual ::java::lang::Object
* pollFirst() = 0;
24 virtual ::java::lang::Object
* pollLast() = 0;
25 virtual ::java::lang::Object
* getFirst() = 0;
26 virtual ::java::lang::Object
* getLast() = 0;
27 virtual ::java::lang::Object
* peekFirst() = 0;
28 virtual ::java::lang::Object
* peekLast() = 0;
29 virtual jboolean
removeFirstOccurrence(::java::lang::Object
*) = 0;
30 virtual jboolean
removeLastOccurrence(::java::lang::Object
*) = 0;
31 virtual jboolean
add(::java::lang::Object
*) = 0;
32 virtual jboolean
offer(::java::lang::Object
*) = 0;
33 virtual ::java::lang::Object
* remove() = 0;
34 virtual ::java::lang::Object
* poll() = 0;
35 virtual ::java::lang::Object
* element() = 0;
36 virtual ::java::lang::Object
* peek() = 0;
37 virtual void push(::java::lang::Object
*) = 0;
38 virtual ::java::lang::Object
* pop() = 0;
39 virtual jboolean
remove(::java::lang::Object
*) = 0;
40 virtual jboolean
contains(::java::lang::Object
*) = 0;
41 virtual jint
size() = 0;
42 virtual ::java::util::Iterator
* iterator() = 0;
43 virtual ::java::util::Iterator
* descendingIterator() = 0;
44 virtual jboolean
addAll(::java::util::Collection
*) = 0;
45 virtual void clear() = 0;
46 virtual jboolean
containsAll(::java::util::Collection
*) = 0;
47 virtual jboolean
isEmpty() = 0;
48 virtual jboolean
removeAll(::java::util::Collection
*) = 0;
49 virtual jboolean
retainAll(::java::util::Collection
*) = 0;
50 virtual JArray
< ::java::lang::Object
* > * toArray() = 0;
51 virtual JArray
< ::java::lang::Object
* > * toArray(JArray
< ::java::lang::Object
* > *) = 0;
52 static ::java::lang::Class
class$
;
53 } __attribute__ ((java_interface
));
55 #endif // __java_util_Deque__