gcc/libjava/java/util/Collections$UnmodifiableCollection.h
Tom Tromey 97b8365caf Merged gcj-eclipse branch to trunk.
From-SVN: r120621
2007-01-09 19:58:05 +00:00

42 lines
1.4 KiB
C++

// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __java_util_Collections$UnmodifiableCollection__
#define __java_util_Collections$UnmodifiableCollection__
#pragma interface
#include <java/lang/Object.h>
#include <gcj/array.h>
class java::util::Collections$UnmodifiableCollection : public ::java::lang::Object
{
public: // actually package-private
Collections$UnmodifiableCollection(::java::util::Collection *);
public:
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 ::java::util::Iterator * iterator();
virtual jboolean remove(::java::lang::Object *);
virtual jboolean removeAll(::java::util::Collection *);
virtual jboolean retainAll(::java::util::Collection *);
virtual jint size();
virtual JArray< ::java::lang::Object * > * toArray();
virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *);
virtual ::java::lang::String * toString();
private:
static const jlong serialVersionUID = 1820017752578914078LL;
public: // actually package-private
::java::util::Collection * __attribute__((aligned(__alignof__( ::java::lang::Object)))) c;
public:
static ::java::lang::Class class$;
};
#endif // __java_util_Collections$UnmodifiableCollection__