Set.h

Go to the documentation of this file.
00001 #ifndef JAVA_UTIL_SET_H
00002 #define JAVA_UTIL_SET_H 1
00003 
00004 #ifndef JAVA_UTIL_COLLECTION_H
00005 #include <java_util/Collection.h>
00006 #endif /* JAVA_UTIL_COLLECTION_H */
00007 
00008 namespace java {
00009   namespace util {
00010 
00061     class JAVA_UTIL_SPEC Set : virtual public Collection {
00062 
00063     public:
00064 
00068       static Ref<Set> emptySet();
00069 
00076       static Ref<Set> singletonSet(const ObjectRef& o);
00077 
00103       static Ref<Set> synchronizedSet(const Ref<Set>& c, const Ref<Sync>& sync = 0);
00104 
00118       static Ref<Set> immutableSet(const Ref<Set>& c);
00119 
00120     private:
00121 
00122       REGISTER_MEMBERS;
00123 
00124     };
00125 
00126   } // namespace util
00127 } // namespace java
00128 
00129 #endif /* JAVA_UTIL_SET_H */

Generated on Fri May 16 11:54:43 2008 for CrossPlatformJavaLikeC++API by  doxygen 1.5.3