1 |
758 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __java_util_concurrent_CopyOnWriteArrayList__
|
5 |
|
|
#define __java_util_concurrent_CopyOnWriteArrayList__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
|
13 |
|
|
class java::util::concurrent::CopyOnWriteArrayList : public ::java::lang::Object
|
14 |
|
|
{
|
15 |
|
|
|
16 |
|
|
public:
|
17 |
|
|
CopyOnWriteArrayList();
|
18 |
|
|
CopyOnWriteArrayList(::java::util::Collection *);
|
19 |
|
|
CopyOnWriteArrayList(JArray< ::java::lang::Object * > *);
|
20 |
|
|
virtual jint size();
|
21 |
|
|
virtual jboolean isEmpty();
|
22 |
|
|
virtual jboolean contains(::java::lang::Object *);
|
23 |
|
|
virtual jboolean containsAll(::java::util::Collection *);
|
24 |
|
|
virtual jint indexOf(::java::lang::Object *);
|
25 |
|
|
virtual jint indexOf(::java::lang::Object *, jint);
|
26 |
|
|
virtual jint lastIndexOf(::java::lang::Object *);
|
27 |
|
|
virtual jint lastIndexOf(::java::lang::Object *, jint);
|
28 |
|
|
virtual ::java::lang::Object * clone();
|
29 |
|
|
virtual JArray< ::java::lang::Object * > * toArray();
|
30 |
|
|
virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *);
|
31 |
|
|
virtual ::java::lang::Object * get(jint);
|
32 |
|
|
virtual ::java::lang::Object * set(jint, ::java::lang::Object *);
|
33 |
|
|
virtual jboolean add(::java::lang::Object *);
|
34 |
|
|
virtual void add(jint, ::java::lang::Object *);
|
35 |
|
|
virtual ::java::lang::Object * remove(jint);
|
36 |
|
|
virtual jboolean remove(::java::lang::Object *);
|
37 |
|
|
virtual jboolean removeAll(::java::util::Collection *);
|
38 |
|
|
virtual jboolean retainAll(::java::util::Collection *);
|
39 |
|
|
virtual void clear();
|
40 |
|
|
virtual jboolean addAll(::java::util::Collection *);
|
41 |
|
|
virtual jboolean addAll(jint, ::java::util::Collection *);
|
42 |
|
|
virtual jboolean addIfAbsent(::java::lang::Object *);
|
43 |
|
|
virtual jint addAllAbsent(::java::util::Collection *);
|
44 |
|
|
virtual ::java::lang::String * toString();
|
45 |
|
|
virtual jboolean equals(::java::lang::Object *);
|
46 |
|
|
virtual jint hashCode();
|
47 |
|
|
virtual ::java::util::Iterator * iterator();
|
48 |
|
|
virtual ::java::util::ListIterator * listIterator();
|
49 |
|
|
virtual ::java::util::ListIterator * listIterator(jint);
|
50 |
|
|
virtual ::java::util::List * subList(jint, jint);
|
51 |
|
|
private:
|
52 |
|
|
void writeObject(::java::io::ObjectOutputStream *);
|
53 |
|
|
void readObject(::java::io::ObjectInputStream *);
|
54 |
|
|
public: // actually package-private
|
55 |
|
|
static jboolean equals(::java::lang::Object *, ::java::lang::Object *);
|
56 |
|
|
virtual JArray< ::java::lang::Object * > * getArray();
|
57 |
|
|
static JArray< ::java::lang::Object * > * access$0(::java::util::concurrent::CopyOnWriteArrayList *);
|
58 |
|
|
static void access$1(::java::util::concurrent::CopyOnWriteArrayList *, JArray< ::java::lang::Object * > *);
|
59 |
|
|
private:
|
60 |
|
|
static const jlong serialVersionUID = 8673264195747942595LL;
|
61 |
|
|
JArray< ::java::lang::Object * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) data;
|
62 |
|
|
public:
|
63 |
|
|
static ::java::lang::Class class$;
|
64 |
|
|
};
|
65 |
|
|
|
66 |
|
|
#endif // __java_util_concurrent_CopyOnWriteArrayList__
|