blob: 512bc0e07369f99210bb3d9c370e4f1fab154779 (
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
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __java_util_concurrent_ConcurrentLinkedQueue__
#define __java_util_concurrent_ConcurrentLinkedQueue__
#pragma interface
#include <java/util/AbstractQueue.h>
class java::util::concurrent::ConcurrentLinkedQueue : public ::java::util::AbstractQueue
{
jboolean casTail(::java::util::concurrent::ConcurrentLinkedQueue$Node *, ::java::util::concurrent::ConcurrentLinkedQueue$Node *);
jboolean casHead(::java::util::concurrent::ConcurrentLinkedQueue$Node *, ::java::util::concurrent::ConcurrentLinkedQueue$Node *);
public:
ConcurrentLinkedQueue();
ConcurrentLinkedQueue(::java::util::Collection *);
virtual jboolean add(::java::lang::Object *);
virtual jboolean offer(::java::lang::Object *);
virtual ::java::lang::Object * poll();
virtual ::java::lang::Object * peek();
public: // actually package-private
virtual ::java::util::concurrent::ConcurrentLinkedQueue$Node * first();
public:
virtual jboolean isEmpty();
virtual jint size();
virtual jboolean contains(::java::lang::Object *);
virtual jboolean remove(::java::lang::Object *);
virtual ::java::util::Iterator * iterator();
private:
void writeObject(::java::io::ObjectOutputStream *);
void readObject(::java::io::ObjectInputStream *);
static const jlong serialVersionUID = 196745693267521676LL;
static ::java::util::concurrent::atomic::AtomicReferenceFieldUpdater * tailUpdater;
static ::java::util::concurrent::atomic::AtomicReferenceFieldUpdater * headUpdater;
::java::util::concurrent::ConcurrentLinkedQueue$Node * volatile __attribute__((aligned(__alignof__( ::java::util::AbstractQueue)))) head;
::java::util::concurrent::ConcurrentLinkedQueue$Node * volatile tail;
public:
static ::java::lang::Class class$;
};
#endif // __java_util_concurrent_ConcurrentLinkedQueue__
|