#include <HashEnum.h>


Public Member Functions | |
| HashEnum (Object **ary, int count) | |
| boolean | hasMoreElements () |
| Object * | nextElement () |
Private Attributes | |
| Object ** | vector |
| int | posn |
| int | vector_count |
| jcpp::HashEnum::HashEnum | ( | Object ** | ary, | |
| int | count | |||
| ) |
The array ary is hence forth memory managed by the enum.
| boolean jcpp::HashEnum::hasMoreElements | ( | ) | [virtual] |
Returns true while enumeration has more elements available
Implements jcpp::Enumeration.
| Object* jcpp::HashEnum::nextElement | ( | ) | [virtual] |
fetches the next element or returns 0 if none left.
Implements jcpp::Enumeration.
Object** jcpp::HashEnum::vector [private] |
we take ary and make a vector out of it.
int jcpp::HashEnum::posn [private] |
next element pointer
1.5.9