AbstractSet.h

Go to the documentation of this file.
00001 #ifndef JAVA_UTIL_ABSTRACTSET_H
00002 #define JAVA_UTIL_ABSTRACTSET_H 1
00003 
00004 #ifndef JAVA_UTIL_ABSTRACTCOLLECTION_H
00005 #include <java_util/AbstractCollection.h>
00006 #endif /* JAVA_UTIL_ABSTRACTCOLLECTION_H */
00007 #ifndef JAVA_UTIL_SET_H
00008 #include <java_util/Set.h>
00009 #endif /* JAVA_UTIL_SET_H */
00010 
00011 namespace java {
00012   namespace util {
00013 
00037     class JAVA_UTIL_SPEC AbstractSet
00038       : public AbstractCollection, virtual public Set {
00039 
00040     public:
00041 
00049       virtual jboolean isEmpty() const;
00050 
00063       virtual jboolean contains(const ObjectRef& o) const;
00064 
00080       virtual Array<ObjectRef> toArray() const;
00081 
00113       virtual jboolean add(const ObjectRef& o);
00114 
00139       virtual jboolean remove(const ObjectRef& o);
00140 
00157       virtual jboolean containsAll(const Collection& c) const;
00158 
00183       virtual jboolean addAll(const Collection& c);
00184 
00210       virtual jboolean removeAll(const Collection& c);
00211 
00239       virtual jboolean retainAll(const Collection& c);
00240 
00259       virtual void clear();
00260 
00278       virtual jboolean equals(const Object& o) const;
00279 
00294       virtual jint hashCode() const;
00295 
00313       virtual String toString() const;
00314 
00315     protected:
00316 
00321       AbstractSet();
00322 
00323     private:
00324 
00325       REGISTER_MEMBERS;
00326 
00327     };
00328 
00329   } // namespace util
00330 } // namespace java
00331 
00332 #endif /* JAVA_UTIL_ABSTRACTSET_H */

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