Public Member Functions | |
this (Map m) | |
void | opPostInc () |
Advances the iterator. | |
bool | atEnd () |
Checks whether the end of the map has been reached. | |
Properties | |
K | key () |
The key associated with the iterator's current position. | |
V | value () |
The value associated with the iterator's current position. | |
V | value (V v) |
The value associated with the iterator's current position. |
Modifying the map, other than by the iterator's value property, and then continuing to use the iterator, currently leads to undefined behaviour.
smjg.libs.util.hashmap.THashMap< K, V >.MapIterator.this | ( | Map | m | ) |
K smjg.libs.util.hashmap.THashMap< K, V >.MapIterator.key | ( | ) |
The key associated with the iterator's current position.
V smjg.libs.util.hashmap.THashMap< K, V >.MapIterator.value | ( | ) |
The value associated with the iterator's current position.
V smjg.libs.util.hashmap.THashMap< K, V >.MapIterator.value | ( | V | v | ) |
The value associated with the iterator's current position.
void smjg.libs.util.hashmap.THashMap< K, V >.MapIterator.opPostInc | ( | ) |
Advances the iterator.
(Implementation of this++.)
bool smjg.libs.util.hashmap.THashMap< K, V >.MapIterator.atEnd | ( | ) |
Checks whether the end of the map has been reached.
This occurs when this++ has been called after the iterator has visited every entry in the map.
true | if the iterator is at the end. | |
false | if the iterator is not at the end, i.e. the key and value properties are still valid. |