An Iterator for a KeySet returning Keys.
More...
Inherits Iterator< Key >.
An Iterator for a KeySet returning Keys.
◆ hasNext()
boolean org.libelektra.KeySetIterator.hasNext |
( |
| ) |
|
|
inline |
- Returns
- True, if another value is available, false otherwise
- Exceptions
-
KeySetReleasedException | if this backing KeySet has already been released |
◆ next()
Key org.libelektra.KeySetIterator.next |
( |
| ) |
|
|
inline |
Gets the next value.
- Returns
- Next key in iteration
- Exceptions
-
KeySetReleasedException | if this backing KeySet has already been released |
NoSuchElementException | if end of key set is reached @apiNote Keys returned by this method normally should not be released manually! |
◆ remove()
void org.libelektra.KeySetIterator.remove |
( |
| ) |
|
|
inline |
Removes the element of the KeySet backing the iterator.
- Exceptions
-
KeySetReleasedException | if this backing KeySet has already been released |
The documentation for this class was generated from the following file: