Merged gcj-eclipse branch to trunk.
[official-gcc.git] / libjava / java / util / HashSet.h
blob0d96ab91c0118f6cca1380c97fd48c4fa6524f8d
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_util_HashSet__
5 #define __java_util_HashSet__
7 #pragma interface
9 #include <java/util/AbstractSet.h>
11 class java::util::HashSet : public ::java::util::AbstractSet
14 public:
15 HashSet();
16 HashSet(jint);
17 HashSet(jint, jfloat);
18 HashSet(::java::util::Collection *);
19 virtual jboolean add(::java::lang::Object *);
20 virtual void clear();
21 virtual ::java::lang::Object * clone();
22 virtual jboolean contains(::java::lang::Object *);
23 virtual jboolean isEmpty();
24 virtual ::java::util::Iterator * iterator();
25 virtual jboolean remove(::java::lang::Object *);
26 virtual jint size();
27 public: // actually package-private
28 virtual ::java::util::HashMap * init(jint, jfloat);
29 private:
30 void writeObject(::java::io::ObjectOutputStream *);
31 void readObject(::java::io::ObjectInputStream *);
32 static const jlong serialVersionUID = -5024744406713321676LL;
33 ::java::util::HashMap * __attribute__((aligned(__alignof__( ::java::util::AbstractSet)))) map;
34 public:
35 static ::java::lang::Class class$;
38 #endif // __java_util_HashSet__