Merged gcj-eclipse branch to trunk.
[official-gcc.git] / libjava / javax / security / auth / Subject$SecureSet.h
blob854176ce9cbdb6022aeb89a3ddeafb15659b912b
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_security_auth_Subject$SecureSet__
5 #define __javax_security_auth_Subject$SecureSet__
7 #pragma interface
9 #include <java/util/AbstractSet.h>
10 extern "Java"
12 namespace javax
14 namespace security
16 namespace auth
18 class Subject;
19 class Subject$SecureSet;
25 class javax::security::auth::Subject$SecureSet : public ::java::util::AbstractSet
28 public: // actually package-private
29 Subject$SecureSet(::javax::security::auth::Subject *, jint, ::java::util::Collection *);
30 Subject$SecureSet(::javax::security::auth::Subject *, jint);
31 public:
32 virtual jint size();
33 virtual ::java::util::Iterator * iterator();
34 virtual jboolean add(::java::lang::Object *);
35 virtual jboolean remove(::java::lang::Object *);
36 virtual jboolean contains(::java::lang::Object *);
37 virtual jboolean removeAll(::java::util::Collection *);
38 virtual jboolean retainAll(::java::util::Collection *);
39 virtual void clear();
40 private:
41 void writeObject(::java::io::ObjectOutputStream *);
42 void readObject(::java::io::ObjectInputStream *);
43 static const jlong serialVersionUID = 7911754171111800359LL;
44 public: // actually package-private
45 static const jint PRINCIPALS = 0;
46 static const jint PUBLIC_CREDENTIALS = 1;
47 static const jint PRIVATE_CREDENTIALS = 2;
48 private:
49 ::javax::security::auth::Subject * __attribute__((aligned(__alignof__( ::java::util::AbstractSet)))) subject;
50 ::java::util::LinkedList * elements;
51 jint type;
52 public:
53 static ::java::lang::Class class$;
56 #endif // __javax_security_auth_Subject$SecureSet__