00001 00008 #ifndef Enumeration_h_seen 00009 #define Enumeration_h_seen 00010 00011 namespace jcpp { 00012 00014 class Enumeration : public virtual Object { 00015 00016 public: 00017 00018 virtual ~Enumeration(){} 00020 virtual boolean hasMoreElements() = 0; 00022 virtual Object *nextElement() = 0; 00023 00024 }; 00025 00026 } ENDSEMI //jcpp 00027 #endif // Enumeration_h_seen