1 |
758 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __java_util_Vector__
|
5 |
|
|
#define __java_util_Vector__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/util/AbstractList.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
|
13 |
|
|
class java::util::Vector : public ::java::util::AbstractList
|
14 |
|
|
{
|
15 |
|
|
|
16 |
|
|
public:
|
17 |
|
|
Vector();
|
18 |
|
|
Vector(::java::util::Collection *);
|
19 |
|
|
Vector(jint, jint);
|
20 |
|
|
Vector(jint);
|
21 |
|
|
virtual void copyInto(JArray< ::java::lang::Object * > *);
|
22 |
|
|
virtual void trimToSize();
|
23 |
|
|
virtual void ensureCapacity(jint);
|
24 |
|
|
virtual void setSize(jint);
|
25 |
|
|
virtual jint capacity();
|
26 |
|
|
virtual jint size();
|
27 |
|
|
virtual jboolean isEmpty();
|
28 |
|
|
virtual ::java::util::Enumeration * elements();
|
29 |
|
|
virtual jboolean contains(::java::lang::Object *);
|
30 |
|
|
virtual jint indexOf(::java::lang::Object *);
|
31 |
|
|
virtual jint indexOf(::java::lang::Object *, jint);
|
32 |
|
|
virtual jint lastIndexOf(::java::lang::Object *);
|
33 |
|
|
virtual jint lastIndexOf(::java::lang::Object *, jint);
|
34 |
|
|
virtual ::java::lang::Object * elementAt(jint);
|
35 |
|
|
virtual ::java::lang::Object * firstElement();
|
36 |
|
|
virtual ::java::lang::Object * lastElement();
|
37 |
|
|
virtual void setElementAt(::java::lang::Object *, jint);
|
38 |
|
|
virtual void removeElementAt(jint);
|
39 |
|
|
virtual void insertElementAt(::java::lang::Object *, jint);
|
40 |
|
|
virtual void addElement(::java::lang::Object *);
|
41 |
|
|
virtual jboolean removeElement(::java::lang::Object *);
|
42 |
|
|
virtual void removeAllElements();
|
43 |
|
|
virtual ::java::lang::Object * clone();
|
44 |
|
|
virtual JArray< ::java::lang::Object * > * toArray();
|
45 |
|
|
virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *);
|
46 |
|
|
virtual ::java::lang::Object * get(jint);
|
47 |
|
|
virtual ::java::lang::Object * set(jint, ::java::lang::Object *);
|
48 |
|
|
virtual jboolean add(::java::lang::Object *);
|
49 |
|
|
virtual jboolean remove(::java::lang::Object *);
|
50 |
|
|
virtual void add(jint, ::java::lang::Object *);
|
51 |
|
|
virtual ::java::lang::Object * remove(jint);
|
52 |
|
|
virtual void clear();
|
53 |
|
|
virtual jboolean containsAll(::java::util::Collection *);
|
54 |
|
|
virtual jboolean addAll(::java::util::Collection *);
|
55 |
|
|
virtual jboolean removeAll(::java::util::Collection *);
|
56 |
|
|
virtual jboolean retainAll(::java::util::Collection *);
|
57 |
|
|
virtual jboolean addAll(jint, ::java::util::Collection *);
|
58 |
|
|
virtual jboolean equals(::java::lang::Object *);
|
59 |
|
|
virtual jint hashCode();
|
60 |
|
|
virtual ::java::lang::String * toString();
|
61 |
|
|
virtual ::java::util::List * subList(jint, jint);
|
62 |
|
|
public: // actually protected
|
63 |
|
|
virtual void removeRange(jint, jint);
|
64 |
|
|
private:
|
65 |
|
|
void checkBoundInclusive(jint);
|
66 |
|
|
void checkBoundExclusive(jint);
|
67 |
|
|
void raiseBoundsError(jint, ::java::lang::String *);
|
68 |
|
|
void writeObject(::java::io::ObjectOutputStream *);
|
69 |
|
|
static const jlong serialVersionUID = -2767605614048989439LL;
|
70 |
|
|
public: // actually protected
|
71 |
|
|
JArray< ::java::lang::Object * > * __attribute__((aligned(__alignof__( ::java::util::AbstractList)))) elementData;
|
72 |
|
|
jint elementCount;
|
73 |
|
|
jint capacityIncrement;
|
74 |
|
|
public:
|
75 |
|
|
static ::java::lang::Class class$;
|
76 |
|
|
};
|
77 |
|
|
|
78 |
|
|
#endif // __java_util_Vector__
|