AbstractSequentialList.h

Go to the documentation of this file.
00001 #ifndef JAVA_UTIL_ABSTRACTSEQUENTIALLIST_H
00002 #define JAVA_UTIL_ABSTRACTSEQUENTIALLIST_H 1
00003 
00004 #ifndef JAVA_UTIL_ABSTRACTLIST_H
00005 #include <java_util/AbstractList.h>
00006 #endif /* JAVA_UTIL_ABSTRACTLIST_H */
00007 
00008 namespace java {
00009   namespace util {
00010 
00048     class JAVA_UTIL_SPEC AbstractSequentialList : public AbstractList {
00049 
00050     public:
00051 
00064       virtual ObjectRef get(jint index) const;
00065 
00094       virtual ObjectRef set(jint index, const ObjectRef& element);
00095 
00123       virtual void add(jint index, const ObjectRef& element);
00124 
00144       virtual ObjectRef remove(jint index);
00145 
00186       virtual jboolean addAll(jint index, const Collection& c);
00187 
00197       virtual Ref<ListIterator> listIterator(jint index = 0) const = 0;
00198 
00199     protected:
00200 
00205       AbstractSequentialList();
00206 
00207     private:
00208 
00209       REGISTER_MEMBERS;
00210 
00211     };
00212 
00213   } // namespace util
00214 } // namespace java
00215 
00216 #endif /* JAVA_UTIL_ABSTRACTSEQUENTIALLIST_H */

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