diff options
Diffstat (limited to 'libjava/java/util/AbstractCollection.h')
-rw-r--r-- | libjava/java/util/AbstractCollection.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/libjava/java/util/AbstractCollection.h b/libjava/java/util/AbstractCollection.h new file mode 100644 index 000000000..15d129d1c --- /dev/null +++ b/libjava/java/util/AbstractCollection.h @@ -0,0 +1,46 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_util_AbstractCollection__ +#define __java_util_AbstractCollection__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + + +class java::util::AbstractCollection : public ::java::lang::Object +{ + +public: // actually protected + AbstractCollection(); +public: + virtual ::java::util::Iterator * iterator() = 0; + virtual jint size() = 0; + virtual jboolean add(::java::lang::Object *); + virtual jboolean addAll(::java::util::Collection *); + virtual void clear(); + virtual jboolean contains(::java::lang::Object *); + virtual jboolean containsAll(::java::util::Collection *); + virtual jboolean isEmpty(); + virtual jboolean remove(::java::lang::Object *); + virtual jboolean removeAll(::java::util::Collection *); +public: // actually package-private + virtual jboolean removeAllInternal(::java::util::Collection *); +public: + virtual jboolean retainAll(::java::util::Collection *); +public: // actually package-private + virtual jboolean retainAllInternal(::java::util::Collection *); +public: + virtual JArray< ::java::lang::Object * > * toArray(); + virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *); + virtual ::java::lang::String * toString(); +public: // actually package-private + static jboolean equals(::java::lang::Object *, ::java::lang::Object *); + static jint hashCode(::java::lang::Object *); +public: + static ::java::lang::Class class$; +}; + +#endif // __java_util_AbstractCollection__ |