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