Elektra  0.9.7
Public Member Functions | List of all members
org.libelektra.KeySetIterator Class Reference

An Iterator for a KeySet returning Keys. More...

Inherits Iterator< Key >.

Public Member Functions

boolean hasNext ()
 
Key next ()
 Gets the next value. More...
 
void remove ()
 Removes the element of the KeySet backing the iterator. More...
 

Detailed Description

An Iterator for a KeySet returning Keys.

Member Function Documentation

◆ hasNext()

boolean org.libelektra.KeySetIterator.hasNext ( )
inline
Returns
True, if another value is available, false otherwise
Exceptions
KeySetReleasedExceptionif this backing KeySet has already been released

◆ next()

Key org.libelektra.KeySetIterator.next ( )
inline

Gets the next value.

Returns
Next key in iteration
Exceptions
KeySetReleasedExceptionif this backing KeySet has already been released
NoSuchElementExceptionif 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
KeySetReleasedExceptionif this backing KeySet has already been released

The documentation for this class was generated from the following file: