\hypertarget{classorg_1_1libelektra_1_1KeySetIterator}{}\doxysection{org.\+libelektra.\+Key\+Set\+Iterator$<$ T extends Readable\+Key $>$ Class Template Reference}
\label{classorg_1_1libelektra_1_1KeySetIterator}\index{org.libelektra.KeySetIterator$<$ T extends ReadableKey $>$@{org.libelektra.KeySetIterator$<$ T extends ReadableKey $>$}}


An \mbox{\hyperlink{}{Iterator}} for a \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} returning \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}}s.  




Inherits Iterator$<$ T $>$.

\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
boolean \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySetIterator_a4727daf0ad234cb9e8101f2e749ec059}{has\+Next}} ()
\item 
T \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySetIterator_a5ee4d2a057431ed0013c66cf2813b5f1}{next}} ()
\begin{DoxyCompactList}\small\item\em Gets the next value. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySetIterator_a39ac5b340a995b86324d3e787b655b9f}{remove}} ()
\begin{DoxyCompactList}\small\item\em Removes the. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
An \mbox{\hyperlink{}{Iterator}} for a \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} returning \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}}s. 

\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySetIterator_a4727daf0ad234cb9e8101f2e749ec059}\label{classorg_1_1libelektra_1_1KeySetIterator_a4727daf0ad234cb9e8101f2e749ec059}} 
\index{org.libelektra.KeySetIterator$<$ T extends ReadableKey $>$@{org.libelektra.KeySetIterator$<$ T extends ReadableKey $>$}!hasNext@{hasNext}}
\index{hasNext@{hasNext}!org.libelektra.KeySetIterator$<$ T extends ReadableKey $>$@{org.libelektra.KeySetIterator$<$ T extends ReadableKey $>$}}
\doxysubsubsection{\texorpdfstring{hasNext()}{hasNext()}}
{\footnotesize\ttfamily boolean \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySetIterator}{org.\+libelektra.\+Key\+Set\+Iterator}}$<$ T extends \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} $>$.has\+Next (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\begin{DoxyReturn}{Returns}
True, if another value is available, false otherwise 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this backing \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} has already been released \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySetIterator_a5ee4d2a057431ed0013c66cf2813b5f1}\label{classorg_1_1libelektra_1_1KeySetIterator_a5ee4d2a057431ed0013c66cf2813b5f1}} 
\index{org.libelektra.KeySetIterator$<$ T extends ReadableKey $>$@{org.libelektra.KeySetIterator$<$ T extends ReadableKey $>$}!next@{next}}
\index{next@{next}!org.libelektra.KeySetIterator$<$ T extends ReadableKey $>$@{org.libelektra.KeySetIterator$<$ T extends ReadableKey $>$}}
\doxysubsubsection{\texorpdfstring{next()}{next()}}
{\footnotesize\ttfamily T \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySetIterator}{org.\+libelektra.\+Key\+Set\+Iterator}}$<$ T extends \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} $>$.next (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Gets the next value. 

\begin{DoxyReturn}{Returns}
Next key in iteration 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this backing \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} has already been released \\
\hline
{\em No\+Such\+Element\+Exception} & if end of key set is reached @api\+Note \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Keys}} returned by this method normally should not be \mbox{\hyperlink{classorg_1_1libelektra_1_1Key_a8e93661372c9a6d5d23a056265a6f5a5}{released}} manually! \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySetIterator_a39ac5b340a995b86324d3e787b655b9f}\label{classorg_1_1libelektra_1_1KeySetIterator_a39ac5b340a995b86324d3e787b655b9f}} 
\index{org.libelektra.KeySetIterator$<$ T extends ReadableKey $>$@{org.libelektra.KeySetIterator$<$ T extends ReadableKey $>$}!remove@{remove}}
\index{remove@{remove}!org.libelektra.KeySetIterator$<$ T extends ReadableKey $>$@{org.libelektra.KeySetIterator$<$ T extends ReadableKey $>$}}
\doxysubsubsection{\texorpdfstring{remove()}{remove()}}
{\footnotesize\ttfamily void \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySetIterator}{org.\+libelektra.\+Key\+Set\+Iterator}}$<$ T extends \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} $>$.remove (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Removes the. 


\begin{DoxyCode}{0}
\DoxyCodeLine{Key }

\end{DoxyCode}
 element of the \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} backing the iterator afterwards releasing it. Therefore any reference held to the removed 
\begin{DoxyCode}{0}
\DoxyCodeLine{Key }

\end{DoxyCode}
 element will get unusable.


\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this backing \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} has already been released \\
\hline
\end{DoxyExceptions}


The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
Key\+Set\+Iterator.\+java\end{DoxyCompactItemize}
