diff options
Diffstat (limited to 'libjava/java/util/PriorityQueue.h')
-rw-r--r-- | libjava/java/util/PriorityQueue.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/libjava/java/util/PriorityQueue.h b/libjava/java/util/PriorityQueue.h new file mode 100644 index 000000000..7072486a1 --- /dev/null +++ b/libjava/java/util/PriorityQueue.h @@ -0,0 +1,48 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_util_PriorityQueue__ +#define __java_util_PriorityQueue__ + +#pragma interface + +#include <java/util/AbstractQueue.h> +#include <gcj/array.h> + + +class java::util::PriorityQueue : public ::java::util::AbstractQueue +{ + +public: + PriorityQueue(); + PriorityQueue(::java::util::Collection *); + PriorityQueue(jint); + PriorityQueue(jint, ::java::util::Comparator *); + PriorityQueue(::java::util::PriorityQueue *); + PriorityQueue(::java::util::SortedSet *); + virtual void clear(); + virtual ::java::util::Comparator * comparator(); + virtual ::java::util::Iterator * iterator(); + virtual jboolean offer(::java::lang::Object *); + virtual ::java::lang::Object * peek(); + virtual ::java::lang::Object * poll(); + virtual jboolean remove(::java::lang::Object *); + virtual jint size(); + virtual jboolean addAll(::java::util::Collection *); +public: // actually package-private + virtual jint findSlot(jint); + virtual void remove(jint); + virtual void bubbleUp(jint); + virtual void resize(); +private: + static const jint DEFAULT_CAPACITY = 11; + static const jlong serialVersionUID = -7720805057305804111LL; +public: // actually package-private + jint __attribute__((aligned(__alignof__( ::java::util::AbstractQueue)))) used; + JArray< ::java::lang::Object * > * storage; + ::java::util::Comparator * comparator__; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_util_PriorityQueue__ |