Hash set enumerator.
More...
#include <base/collection/HashSet.h>
Inherits Enumerator< TRAITS >.
template<class TYPE>
template<class TRAITS>
class HashSet< TYPE >::HashSetEnumerator< TRAITS >
Hash set enumerator.
Enumeration of all the elements of a hash set.
- Version
- 1.0
- Examples
- testsuite/HashSet.cpp.
◆ HashSetEnumerator()
template<class TYPE >
template<class TRAITS >
Initializes enumeration of hash set.
- Parameters
-
◆ hasNext()
template<class TYPE >
template<class TRAITS >
Returns true if there is more elements in this enumeration.
◆ next()
template<class TYPE >
template<class TRAITS >
Returns the current value and increments the position. Raises EndOfEnumeration if the end has been reached.