aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/util/concurrent/DelayQueue.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@gcc.gnu.org>2007-01-09 19:58:05 +0000
committerTom Tromey <tromey@gcc.gnu.org>2007-01-09 19:58:05 +0000
commit97b8365cafc3a344a22d3980b8ed885f5c6d8357 (patch)
tree996a5f57d4a68c53473382e45cb22f574cb3e4db /libjava/java/util/concurrent/DelayQueue.h
parentc648dedbde727ca3f883bb5fd773aa4af70d3369 (diff)
downloadgcc-97b8365cafc3a344a22d3980b8ed885f5c6d8357.zip
gcc-97b8365cafc3a344a22d3980b8ed885f5c6d8357.tar.gz
gcc-97b8365cafc3a344a22d3980b8ed885f5c6d8357.tar.bz2
Merged gcj-eclipse branch to trunk.
From-SVN: r120621
Diffstat (limited to 'libjava/java/util/concurrent/DelayQueue.h')
-rw-r--r--libjava/java/util/concurrent/DelayQueue.h57
1 files changed, 57 insertions, 0 deletions
diff --git a/libjava/java/util/concurrent/DelayQueue.h b/libjava/java/util/concurrent/DelayQueue.h
new file mode 100644
index 0000000..76dd489
--- /dev/null
+++ b/libjava/java/util/concurrent/DelayQueue.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_util_concurrent_DelayQueue__
+#define __java_util_concurrent_DelayQueue__
+
+#pragma interface
+
+#include <java/util/AbstractQueue.h>
+#include <gcj/array.h>
+
+
+class java::util::concurrent::DelayQueue : public ::java::util::AbstractQueue
+{
+
+public:
+ DelayQueue();
+ DelayQueue(::java::util::Collection *);
+ virtual jboolean target$add(::java::util::concurrent::Delayed *);
+ virtual jboolean target$offer(::java::util::concurrent::Delayed *);
+ virtual void target$put(::java::util::concurrent::Delayed *);
+ virtual jboolean target$offer(::java::util::concurrent::Delayed *, jlong, ::java::util::concurrent::TimeUnit *);
+ virtual ::java::util::concurrent::Delayed * target$poll();
+ virtual ::java::util::concurrent::Delayed * target$take();
+ virtual ::java::util::concurrent::Delayed * target$poll(jlong, ::java::util::concurrent::TimeUnit *);
+ virtual ::java::util::concurrent::Delayed * target$peek();
+ virtual jint size();
+ virtual jint drainTo(::java::util::Collection *);
+ virtual jint drainTo(::java::util::Collection *, jint);
+ virtual void clear();
+ virtual jint remainingCapacity();
+ virtual JArray< ::java::lang::Object * > * toArray();
+ virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *);
+ virtual jboolean remove(::java::lang::Object *);
+ virtual ::java::util::Iterator * iterator();
+ virtual ::java::lang::Object * poll(jlong, ::java::util::concurrent::TimeUnit *);
+ virtual ::java::lang::Object * poll();
+ virtual ::java::lang::Object * take();
+ virtual jboolean offer(::java::lang::Object *, jlong, ::java::util::concurrent::TimeUnit *);
+ virtual jboolean offer(::java::lang::Object *);
+ virtual ::java::lang::Object * peek();
+ virtual jboolean add(::java::lang::Object *);
+ virtual void put(::java::lang::Object *);
+public: // actually package-private
+ static ::java::util::concurrent::locks::ReentrantLock * access$8(::java::util::concurrent::DelayQueue *);
+ static ::java::util::PriorityQueue * access$9(::java::util::concurrent::DelayQueue *);
+private:
+ ::java::util::concurrent::locks::ReentrantLock * __attribute__((aligned(__alignof__( ::java::util::AbstractQueue)))) lock;
+ ::java::util::concurrent::locks::Condition * available;
+ ::java::util::PriorityQueue * q;
+public: // actually package-private
+ static jboolean $assertionsDisabled;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_util_concurrent_DelayQueue__