blob: 7072486a11dca948d84231171a347be09a452f82 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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__
|