AbstractCollection.h

Go to the documentation of this file.
00001 #ifndef JAVA_UTIL_ABSTRACTCOLLECTION_H
00002 #define JAVA_UTIL_ABSTRACTCOLLECTION_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 
00039     class JAVA_UTIL_SPEC AbstractCollection : virtual public Collection {
00040 
00041     public:
00042 
00050       virtual jboolean isEmpty() const;
00051 
00064       virtual jboolean contains(const ObjectRef& o) const;
00065 
00081       virtual Array<ObjectRef> toArray() const;
00082 
00114       virtual jboolean add(const ObjectRef& o);
00115 
00140       virtual jboolean remove(const ObjectRef& o);
00141 
00158       virtual jboolean containsAll(const Collection& c) const;
00159 
00184       virtual jboolean addAll(const Collection& c);
00185 
00211       virtual jboolean removeAll(const Collection& c);
00212 
00240       virtual jboolean retainAll(const Collection& c);
00241 
00260       virtual void clear();
00261 
00279       virtual String toString() const;
00280 
00281     protected:
00282     
00287       AbstractCollection();
00288 
00289     private:
00290 
00291       REGISTER_MEMBERS;
00292 
00293     };
00294 
00295   } // namespace util
00296 } // namespace java
00297 
00298 #endif /* JAVA_UTIL_ABSTRACTCOLLECTION_H */

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