2016-06-16 Ed Schonberg <schonberg@adacore.com>
[official-gcc.git] / libjava / java / util / Collections$CheckedCollection.h
blob688439f0450386b73076115dfd3f95211dfbe3a2
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_util_Collections$CheckedCollection__
5 #define __java_util_Collections$CheckedCollection__
7 #pragma interface
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
13 class java::util::Collections$CheckedCollection : public ::java::lang::Object
16 public: // actually package-private
17 Collections$CheckedCollection(::java::util::Collection *, ::java::lang::Class *);
18 public:
19 virtual jboolean add(::java::lang::Object *);
20 virtual jboolean addAll(::java::util::Collection *);
21 virtual void clear();
22 virtual jboolean contains(::java::lang::Object *);
23 virtual jboolean containsAll(::java::util::Collection *);
24 virtual jboolean isEmpty();
25 virtual ::java::util::Iterator * iterator();
26 virtual jboolean remove(::java::lang::Object *);
27 virtual jboolean removeAll(::java::util::Collection *);
28 virtual jboolean retainAll(::java::util::Collection *);
29 virtual jint size();
30 virtual JArray< ::java::lang::Object * > * toArray();
31 virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *);
32 virtual ::java::lang::String * toString();
33 private:
34 static const jlong serialVersionUID = 1578914078182001775LL;
35 public: // actually package-private
36 ::java::util::Collection * __attribute__((aligned(__alignof__( ::java::lang::Object)))) c;
37 ::java::lang::Class * type;
38 public:
39 static ::java::lang::Class class$;
42 #endif // __java_util_Collections$CheckedCollection__