\hypertarget{classorg_1_1libelektra_1_1KeySet}{}\doxysection{org.\+libelektra.\+Key\+Set Class Reference}
\label{classorg_1_1libelektra_1_1KeySet}\index{org.libelektra.KeySet@{org.libelektra.KeySet}}


Java representation of a native Elektra key set, a container for keys.  




Inherits Abstract\+Set$<$ Key $>$, and Navigable\+Set$<$ Key $>$.

\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_af3571c68cd55983c45666cf9f75143a1}{dup}} ()
\begin{DoxyCompactList}\small\item\em Duplicates the key set. \end{DoxyCompactList}\item 
\mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_a344a72a98a01a1a1a0e6526ff22eb55e}{copy}} (\mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} source)
\begin{DoxyCompactList}\small\item\em Copies key references from. \end{DoxyCompactList}\item 
\mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_a0eff916445842bb1e47fe398efc19538}{append}} (\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} key)
\begin{DoxyCompactList}\small\item\em Append key to key set. \end{DoxyCompactList}\item 
\mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_a7457ab3aa74323af26c80b05fe5607b5}{append}} (\mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} source)
\begin{DoxyCompactList}\small\item\em Appends keys from key set. \end{DoxyCompactList}\item 
\mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_acb8551293dbbf6e9fd95c588f7dfa2dd}{cut}} (\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} cutpoint)
\begin{DoxyCompactList}\small\item\em Creates new key set with help of a cut point. \end{DoxyCompactList}\item 
Optional$<$ \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} $>$ \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_aefc04dd855e2cf6668359a0a9f01f05f}{remove}} (\mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} key)
\begin{DoxyCompactList}\small\item\em Removes the specified key from key set. \end{DoxyCompactList}\item 
Optional$<$ \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} $>$ \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_a72c1806bdad5928fd69514f5be84a15e}{remove}} (String find)
\begin{DoxyCompactList}\small\item\em Removes the key with the specified name from key set. \end{DoxyCompactList}\item 
\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_a1302d1a59480851a0de54dcad2a50b6d}{remove}} (int cursor)
\begin{DoxyCompactList}\small\item\em Returns key from key set and also removes it from the set. \end{DoxyCompactList}\item 
\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_ae6e95674082204841f208f59fcc416cb}{at}} (int cursor)
\begin{DoxyCompactList}\small\item\em Gets the key at the given cursor position. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_adc027550f6c563952559fb5f160910e1}{index\+Of}} (\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} key)
\item 
Optional$<$ \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} $>$ \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_a0d56925d157879f71c0fb68360dcf3bf}{lookup}} (\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} find)
\begin{DoxyCompactList}\small\item\em Search for a key in the key set. \end{DoxyCompactList}\item 
Optional$<$ \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} $>$ \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_a50a2c161fdd8d48cddf2c6980822a107}{lookup}} (String find)
\begin{DoxyCompactList}\small\item\em Search for a key in the key set. \end{DoxyCompactList}\item 
String \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_a9c1e2918acce8c7cda5be406989c87af}{to\+String}} ()
\begin{DoxyCompactList}\small\item\em Iterates though all keys in this key set and appends their representation to the output. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_a9244d4c9a07e61c5842dcd2fc620e4d6}{size}} ()
\item 
boolean \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_a6763d1136c890fb0087d9306a334f831}{is\+Empty}} ()
\item 
boolean \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_a74ec56ccfc9646b2d55cd2f210bac515}{contains}} (@Nullable Object o)
\item 
\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_a4d54ca015aafd709291171fe1d999562}{lower}} (\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} key)
\item 
\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_aa2e1c9402eda78b88c4ae94577700797}{floor}} (\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} key)
\item 
\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_a96a1105e59417855f3f9fbd084d469bf}{ceiling}} (\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} key)
\item 
\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_a2fc93edf106c252490d6e16a50720de6}{higher}} (\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} key)
\item 
\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_af2012c3f3f42cae5c68e0ac90f5dcdaf}{poll\+First}} ()
\item 
\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_a851f78b382e8723623a71b6eb2cbddc2}{poll\+Last}} ()
\item 
Iterator$<$ \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} $>$ \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_a1a3b37dff55df600c4fee6bea714a8d9}{iterator}} ()
\item 
Navigable\+Set$<$ \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} $>$ \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_ae39ac7545e7c02f91299335e1fd52058}{descending\+Set}} ()
\item 
Iterator$<$ \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} $>$ \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_af4ff63001e774130490386b2f26c0cf7}{descending\+Iterator}} ()
\item 
Navigable\+Set$<$ \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} $>$ \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_a32d0f71e5bee4776eb040cd92aa11fd4}{sub\+Set}} (\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} from\+Element, boolean from\+Inclusive, \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} to\+Element, boolean to\+Inclusive)
\item 
Navigable\+Set$<$ \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} $>$ \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_af234591ec141bd2061725080d1495828}{head\+Set}} (\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} to\+Element, boolean inclusive)
\item 
Navigable\+Set$<$ \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} $>$ \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_a6772c0356e2173cfba157f7bb5b7132d}{tail\+Set}} (\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} from\+Element, boolean inclusive)
\item 
Object\mbox{[}$\,$\mbox{]} \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_a72693fc530aba1531fc2acccbc499e61}{to\+Array}} ()
\item 
boolean \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_acefbdd4b6e71ad2c6cef4057bcc13b96}{add}} (\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} e)
\item 
boolean \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_a6f65ce632ab578177d6221bf8baf2314}{remove}} (Object o)
\item 
boolean \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_accc9409b13ab7c4ef10ca4bb5483fef1}{contains\+All}} (Collection$<$?$>$ c)
\item 
boolean \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_ab17d0db3d4ab166845b02b8537c28dd5}{add\+All}} (Collection$<$? extends \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} $>$ c)
\item 
boolean \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_a4c482a84c226b2802335a44eff4e6d40}{retain\+All}} (Collection$<$?$>$ c)
\item 
boolean \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_a8db68eb31afacc3fcff2ed8b50c059fb}{remove\+All}} (Collection$<$?$>$ c)
\item 
void \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_abd4609edccdd22172ec04a31a5a842c7}{clear}} ()
\begin{DoxyCompactList}\small\item\em Removes all elements form this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}}. \end{DoxyCompactList}\item 
Comparator$<$? super \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} $>$ \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_aaa6232b81bd6df1e8c53c2af8dd6eb9b}{comparator}} ()
\item 
Sorted\+Set$<$ \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} $>$ \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_ab3d3ef3c47ec6b8234908c7f46fc96cb}{sub\+Set}} (\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} from\+Element, \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} to\+Element)
\item 
Sorted\+Set$<$ \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} $>$ \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_a59573f0f6784f8d3495dd3eaf74ee0b8}{head\+Set}} (\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} to\+Element)
\item 
Sorted\+Set$<$ \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} $>$ \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_a9a75b15506fcffe6b6e3090cb71befa3}{tail\+Set}} (\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} from\+Element)
\item 
\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_a8536b95ff54ef2cc80004d0dbfac736d}{first}} ()
\item 
\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_ab4d9dcee5031e7b910c14672810bfb7c}{last}} ()
\end{DoxyCompactItemize}
\doxysubsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_a97739afd3f44984c424b3b90ee784f70}{create}} (Key... keys)
\begin{DoxyCompactList}\small\item\em Constructs a new \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} containing the specified \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{keys}}~\newline
 ~\newline
 Example\+: \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} key\+Set = \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_a97739afd3f44984c424b3b90ee784f70}{Key\+Set.\+create}}(\mbox{\hyperlink{classorg_1_1libelektra_1_1Key_ae62b6596937d48b5a24af97e6341d37a}{Key.\+create}}(\char`\"{}\+A\char`\"{}), \mbox{\hyperlink{classorg_1_1libelektra_1_1Key_ae62b6596937d48b5a24af97e6341d37a}{Key.\+create}}(\char`\"{}\+B\char`\"{}));. \end{DoxyCompactList}\item 
static \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_ae6858ba2c52f97ccca3cf5d3c3582f0e}{create}} (int allocation\+Hint, Key... keys)
\begin{DoxyCompactList}\small\item\em Constructs a new \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} containing the specified \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{keys}}~\newline
 ~\newline
 Example\+: \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} key\+Set = \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_a97739afd3f44984c424b3b90ee784f70}{Key\+Set.\+create}}(10, \mbox{\hyperlink{classorg_1_1libelektra_1_1Key_ae62b6596937d48b5a24af97e6341d37a}{Key.\+create}}(\char`\"{}\+A\char`\"{}), \mbox{\hyperlink{classorg_1_1libelektra_1_1Key_ae62b6596937d48b5a24af97e6341d37a}{Key.\+create}}(\char`\"{}\+B\char`\"{}));. \end{DoxyCompactList}\item 
static \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_ac0ba4b88bef5e731b586f4ca63b9ab7f}{create}} ()
\begin{DoxyCompactList}\small\item\em Constructs an empty \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} with a default allocation hint of 16. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_af3aac3e0a3d9a65981478b114697332a}{Key\+Set}} (long native\+Pointer)
\begin{DoxyCompactList}\small\item\em Constructor associating a new \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} instance with a native pointer in long format. \end{DoxyCompactList}\item 
\mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_a9e480cfc208b2f11a1be3045bd7d7ac9}{Key\+Set}} (long native\+Pointer, boolean suppress\+Clean\+Up)
\begin{DoxyCompactList}\small\item\em Constructor associating a new \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} instance with a native pointer in long format~\newline
 ~\newline
 Suppressing clean-\/up has been introduced for usage of this binding as JNI plug-\/in and should normally not be used in any other case. \end{DoxyCompactList}\item 
\mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_a56bdc110d4882fef8be458fe639fab88}{Key\+Set}} (Pointer pointer)
\begin{DoxyCompactList}\small\item\em Constructor associating a new \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} instance with a JNA pointer. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_aa3851e13c627e32f02275636806e30cc}\label{classorg_1_1libelektra_1_1KeySet_aa3851e13c627e32f02275636806e30cc}} 
void \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_aa3851e13c627e32f02275636806e30cc}{release}} ()
\begin{DoxyCompactList}\small\item\em Clean-\/up method to release key set reference by trying to free the native reference~\newline
 ~\newline
 \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{key sets}}, will get cleaned up by garbage collection as soon as they get phantom reachable. \end{DoxyCompactList}\item 
Pointer \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_ae48a42eace65f38a2cb23ba6dd432271}{get\+Pointer}} ()
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Java representation of a native Elektra key set, a container for keys. 

\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_af3aac3e0a3d9a65981478b114697332a}\label{classorg_1_1libelektra_1_1KeySet_af3aac3e0a3d9a65981478b114697332a}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!KeySet@{KeySet}}
\index{KeySet@{KeySet}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{KeySet()}{KeySet()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily org.\+libelektra.\+Key\+Set.\+Key\+Set (\begin{DoxyParamCaption}\item[{long}]{native\+Pointer }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [protected]}}



Constructor associating a new \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} instance with a native pointer in long format. 


\begin{DoxyParams}{Parameters}
{\em native\+Pointer} & Native pointer to key set in long format \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_a9e480cfc208b2f11a1be3045bd7d7ac9}\label{classorg_1_1libelektra_1_1KeySet_a9e480cfc208b2f11a1be3045bd7d7ac9}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!KeySet@{KeySet}}
\index{KeySet@{KeySet}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{KeySet()}{KeySet()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily org.\+libelektra.\+Key\+Set.\+Key\+Set (\begin{DoxyParamCaption}\item[{long}]{native\+Pointer,  }\item[{boolean}]{suppress\+Clean\+Up }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [protected]}}



Constructor associating a new \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} instance with a native pointer in long format~\newline
 ~\newline
 Suppressing clean-\/up has been introduced for usage of this binding as JNI plug-\/in and should normally not be used in any other case. 


\begin{DoxyParams}{Parameters}
{\em native\+Pointer} & Native pointer to key set in long format \\
\hline
{\em suppress\+Clean\+Up} & True to suppress native reference clean-\/up as soon as this \{\mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{\} instance becomes phantom reachable, false otherwise }}\\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_a56bdc110d4882fef8be458fe639fab88}\label{classorg_1_1libelektra_1_1KeySet_a56bdc110d4882fef8be458fe639fab88}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!KeySet@{KeySet}}
\index{KeySet@{KeySet}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{KeySet()}{KeySet()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily org.\+libelektra.\+Key\+Set.\+Key\+Set (\begin{DoxyParamCaption}\item[{Pointer}]{pointer }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [protected]}}



Constructor associating a new \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} instance with a JNA pointer. 


\begin{DoxyParams}{Parameters}
{\em pointer} & JNA \mbox{\hyperlink{}{Pointer}} to key set \\
\hline
\end{DoxyParams}

\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+Argument\+Exception} & if
\begin{DoxyCode}{1}
\DoxyCodeLine{pointer }

\end{DoxyCode}
 is
\begin{DoxyCode}{1}
\DoxyCodeLine{\textcolor{keyword}{null} }

\end{DoxyCode}
 \\
\hline
\end{DoxyExceptions}


\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_acefbdd4b6e71ad2c6cef4057bcc13b96}\label{classorg_1_1libelektra_1_1KeySet_acefbdd4b6e71ad2c6cef4057bcc13b96}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!add@{add}}
\index{add@{add}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{add()}{add()}}
{\footnotesize\ttfamily boolean org.\+libelektra.\+Key\+Set.\+add (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}}}]{e }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}






\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} or the specified
\begin{DoxyCode}{1}
\DoxyCodeLine{key }

\end{DoxyCode}
 has already been released \\
\hline
{\em Null\+Pointer\+Exception} & if
\begin{DoxyCode}{1}
\DoxyCodeLine{key }

\end{DoxyCode}
 is
\begin{DoxyCode}{1}
\DoxyCodeLine{\textcolor{keyword}{null} }

\end{DoxyCode}
 \\
\hline
{\em Key\+Set\+Exception} & if inserting the
\begin{DoxyCode}{1}
\DoxyCodeLine{key }

\end{DoxyCode}
 failed because of allocation problems \\
\hline
\end{DoxyExceptions}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_a0eff916445842bb1e47fe398efc19538}{append(\+Key)}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_ab17d0db3d4ab166845b02b8537c28dd5}\label{classorg_1_1libelektra_1_1KeySet_ab17d0db3d4ab166845b02b8537c28dd5}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!addAll@{addAll}}
\index{addAll@{addAll}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{addAll()}{addAll()}}
{\footnotesize\ttfamily boolean org.\+libelektra.\+Key\+Set.\+add\+All (\begin{DoxyParamCaption}\item[{Collection$<$? extends \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} $>$}]{c }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}






\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} or any \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} contained in the specified collection
\begin{DoxyCode}{1}
\DoxyCodeLine{c }

\end{DoxyCode}
 has already been released \\
\hline
{\em Null\+Pointer\+Exception} & if the specified collection is
\begin{DoxyCode}{1}
\DoxyCodeLine{\textcolor{keyword}{null} }

\end{DoxyCode}
 or contains
\begin{DoxyCode}{1}
\DoxyCodeLine{\textcolor{keyword}{null} }

\end{DoxyCode}
 elements \\
\hline
{\em Key\+Set\+Exception} & if inserting the
\begin{DoxyCode}{1}
\DoxyCodeLine{key }

\end{DoxyCode}
 failed because of allocation problems \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_a0eff916445842bb1e47fe398efc19538}\label{classorg_1_1libelektra_1_1KeySet_a0eff916445842bb1e47fe398efc19538}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!append@{append}}
\index{append@{append}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{append()}{append()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} org.\+libelektra.\+Key\+Set.\+append (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}}}]{key }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Append key to key set. 


\begin{DoxyParams}{Parameters}
{\em key} & \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} to append \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
This \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}}, enabling a fluent interface 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} or the specified
\begin{DoxyCode}{1}
\DoxyCodeLine{key }

\end{DoxyCode}
 has already been released \\
\hline
{\em Illegal\+Argument\+Exception} & if
\begin{DoxyCode}{1}
\DoxyCodeLine{key }

\end{DoxyCode}
 is
\begin{DoxyCode}{1}
\DoxyCodeLine{\textcolor{keyword}{null} }

\end{DoxyCode}
 \\
\hline
{\em Key\+Set\+Exception} & if appending the
\begin{DoxyCode}{1}
\DoxyCodeLine{key }

\end{DoxyCode}
 failed because of allocation problems \\
\hline
\end{DoxyExceptions}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_acefbdd4b6e71ad2c6cef4057bcc13b96}{add(\+Key)}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_a7457ab3aa74323af26c80b05fe5607b5}\label{classorg_1_1libelektra_1_1KeySet_a7457ab3aa74323af26c80b05fe5607b5}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!append@{append}}
\index{append@{append}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{append()}{append()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} org.\+libelektra.\+Key\+Set.\+append (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}}}]{source }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Appends keys from key set. 


\begin{DoxyParams}{Parameters}
{\em source} & Source \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} to append all of its \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{keys}} \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
This \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}}, enabling a fluent interface 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} or the specified
\begin{DoxyCode}{1}
\DoxyCodeLine{source }

\end{DoxyCode}
 has already been released \\
\hline
{\em Illegal\+Argument\+Exception} & if
\begin{DoxyCode}{1}
\DoxyCodeLine{source }

\end{DoxyCode}
 is
\begin{DoxyCode}{1}
\DoxyCodeLine{\textcolor{keyword}{null} }

\end{DoxyCode}
 \\
\hline
{\em Key\+Set\+Exception} & if appending the
\begin{DoxyCode}{1}
\DoxyCodeLine{source }

\end{DoxyCode}
 failed because of allocation problems \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_ae6e95674082204841f208f59fcc416cb}\label{classorg_1_1libelektra_1_1KeySet_ae6e95674082204841f208f59fcc416cb}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!at@{at}}
\index{at@{at}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{at()}{at()}}
{\footnotesize\ttfamily \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} org.\+libelektra.\+Key\+Set.\+at (\begin{DoxyParamCaption}\item[{int}]{cursor }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Gets the key at the given cursor position. 


\begin{DoxyParams}{Parameters}
{\em cursor} & Cursor position used to fetch key; starting from 0 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} found at specified cursor position 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} has already been released \\
\hline
{\em Index\+Out\+Of\+Bounds\+Exception} & if position is out of bounds \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_a96a1105e59417855f3f9fbd084d469bf}\label{classorg_1_1libelektra_1_1KeySet_a96a1105e59417855f3f9fbd084d469bf}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!ceiling@{ceiling}}
\index{ceiling@{ceiling}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{ceiling()}{ceiling()}}
{\footnotesize\ttfamily \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} org.\+libelektra.\+Key\+Set.\+ceiling (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}}}]{key }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}






\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} has already been released \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_abd4609edccdd22172ec04a31a5a842c7}\label{classorg_1_1libelektra_1_1KeySet_abd4609edccdd22172ec04a31a5a842c7}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!clear@{clear}}
\index{clear@{clear}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{clear()}{clear()}}
{\footnotesize\ttfamily void org.\+libelektra.\+Key\+Set.\+clear (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Removes all elements form this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}}. 


\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} has already been released \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_aaa6232b81bd6df1e8c53c2af8dd6eb9b}\label{classorg_1_1libelektra_1_1KeySet_aaa6232b81bd6df1e8c53c2af8dd6eb9b}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!comparator@{comparator}}
\index{comparator@{comparator}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{comparator()}{comparator()}}
{\footnotesize\ttfamily Comparator$<$? super \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}}$>$ org.\+libelektra.\+Key\+Set.\+comparator (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}





@impl\+Spec Returns
\begin{DoxyCode}{0}
\DoxyCodeLine{\textcolor{keyword}{null} }

\end{DoxyCode}
 because natural ordering of keys is used (\mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} implements \mbox{\hyperlink{}{Comparable}}) 
\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} has already been released \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_a74ec56ccfc9646b2d55cd2f210bac515}\label{classorg_1_1libelektra_1_1KeySet_a74ec56ccfc9646b2d55cd2f210bac515}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!contains@{contains}}
\index{contains@{contains}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{contains()}{contains()}}
{\footnotesize\ttfamily boolean org.\+libelektra.\+Key\+Set.\+contains (\begin{DoxyParamCaption}\item[{@Nullable Object}]{o }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}






\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} has already been released or the passed \mbox{\hyperlink{}{o}} is a \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} that has already been released \\
\hline
{\em Null\+Pointer\+Exception} & if the specified element
\begin{DoxyCode}{1}
\DoxyCodeLine{o }

\end{DoxyCode}
 is
\begin{DoxyCode}{1}
\DoxyCodeLine{\textcolor{keyword}{null} }

\end{DoxyCode}
 \\
\hline
\end{DoxyExceptions}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_a0d56925d157879f71c0fb68360dcf3bf}{lookup(\+Key)}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_accc9409b13ab7c4ef10ca4bb5483fef1}\label{classorg_1_1libelektra_1_1KeySet_accc9409b13ab7c4ef10ca4bb5483fef1}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!containsAll@{containsAll}}
\index{containsAll@{containsAll}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{containsAll()}{containsAll()}}
{\footnotesize\ttfamily boolean org.\+libelektra.\+Key\+Set.\+contains\+All (\begin{DoxyParamCaption}\item[{Collection$<$?$>$}]{c }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}






\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} has already been released \\
\hline
{\em Null\+Pointer\+Exception} & if the specified collection is
\begin{DoxyCode}{1}
\DoxyCodeLine{\textcolor{keyword}{null} }

\end{DoxyCode}
 or contains
\begin{DoxyCode}{1}
\DoxyCodeLine{\textcolor{keyword}{null} }

\end{DoxyCode}
 elements \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_a344a72a98a01a1a1a0e6526ff22eb55e}\label{classorg_1_1libelektra_1_1KeySet_a344a72a98a01a1a1a0e6526ff22eb55e}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!copy@{copy}}
\index{copy@{copy}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{copy()}{copy()}}
{\footnotesize\ttfamily \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} org.\+libelektra.\+Key\+Set.\+copy (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}}}]{source }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Copies key references from. 


\begin{DoxyCode}{0}
\DoxyCodeLine{source }

\end{DoxyCode}
 to {\bfseries{this}} \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}}


\begin{DoxyParams}{Parameters}
{\em source} & \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} set that is used as source \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
This \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}}, enabling a fluent interface 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} or the specified
\begin{DoxyCode}{1}
\DoxyCodeLine{source }

\end{DoxyCode}
 has already been released \\
\hline
{\em Illegal\+Argument\+Exception} & if
\begin{DoxyCode}{1}
\DoxyCodeLine{source }

\end{DoxyCode}
 is
\begin{DoxyCode}{1}
\DoxyCodeLine{\textcolor{keyword}{null} }

\end{DoxyCode}
 \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_ac0ba4b88bef5e731b586f4ca63b9ab7f}\label{classorg_1_1libelektra_1_1KeySet_ac0ba4b88bef5e731b586f4ca63b9ab7f}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!create@{create}}
\index{create@{create}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{create()}{create()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily static \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} org.\+libelektra.\+Key\+Set.\+create (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Constructs an empty \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} with a default allocation hint of 16. 

\begin{DoxyReturn}{Returns}
Newly allocated key set 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Key\+Set\+Exception} & on allocation problems \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_ae6858ba2c52f97ccca3cf5d3c3582f0e}\label{classorg_1_1libelektra_1_1KeySet_ae6858ba2c52f97ccca3cf5d3c3582f0e}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!create@{create}}
\index{create@{create}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{create()}{create()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily static \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} org.\+libelektra.\+Key\+Set.\+create (\begin{DoxyParamCaption}\item[{int}]{allocation\+Hint,  }\item[{Key...}]{keys }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Constructs a new \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} containing the specified \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{keys}}~\newline
 ~\newline
 Example\+: \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} key\+Set = \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_a97739afd3f44984c424b3b90ee784f70}{Key\+Set.\+create}}(10, \mbox{\hyperlink{classorg_1_1libelektra_1_1Key_ae62b6596937d48b5a24af97e6341d37a}{Key.\+create}}(\char`\"{}\+A\char`\"{}), \mbox{\hyperlink{classorg_1_1libelektra_1_1Key_ae62b6596937d48b5a24af97e6341d37a}{Key.\+create}}(\char`\"{}\+B\char`\"{}));. 


\begin{DoxyParams}{Parameters}
{\em allocation\+Hint} & Hint indicating the expected size of the key set \\
\hline
{\em keys} & List of initial keys for the key set \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
New key set containing the specified initial keys 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Key\+Set\+Exception} & on allocation problems \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_a97739afd3f44984c424b3b90ee784f70}\label{classorg_1_1libelektra_1_1KeySet_a97739afd3f44984c424b3b90ee784f70}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!create@{create}}
\index{create@{create}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{create()}{create()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily static \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} org.\+libelektra.\+Key\+Set.\+create (\begin{DoxyParamCaption}\item[{Key...}]{keys }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Constructs a new \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} containing the specified \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{keys}}~\newline
 ~\newline
 Example\+: \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} key\+Set = \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_a97739afd3f44984c424b3b90ee784f70}{Key\+Set.\+create}}(\mbox{\hyperlink{classorg_1_1libelektra_1_1Key_ae62b6596937d48b5a24af97e6341d37a}{Key.\+create}}(\char`\"{}\+A\char`\"{}), \mbox{\hyperlink{classorg_1_1libelektra_1_1Key_ae62b6596937d48b5a24af97e6341d37a}{Key.\+create}}(\char`\"{}\+B\char`\"{}));. 


\begin{DoxyParams}{Parameters}
{\em keys} & List of initial keys for the key set \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
New key set containing the specified initial keys 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Key\+Set\+Exception} & on allocation problems \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_acb8551293dbbf6e9fd95c588f7dfa2dd}\label{classorg_1_1libelektra_1_1KeySet_acb8551293dbbf6e9fd95c588f7dfa2dd}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!cut@{cut}}
\index{cut@{cut}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{cut()}{cut()}}
{\footnotesize\ttfamily \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} org.\+libelektra.\+Key\+Set.\+cut (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}}}]{cutpoint }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Creates new key set with help of a cut point. 


\begin{DoxyParams}{Parameters}
{\em cutpoint} & \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} that is used as cutting point \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
New \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} containing all keys until the cutting point 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} has already been released \\
\hline
{\em Illegal\+Argument\+Exception} & if
\begin{DoxyCode}{1}
\DoxyCodeLine{cutpoint }

\end{DoxyCode}
 is
\begin{DoxyCode}{1}
\DoxyCodeLine{\textcolor{keyword}{null} }

\end{DoxyCode}
 \\
\hline
{\em Key\+Set\+Exception} & if
\begin{DoxyCode}{1}
\DoxyCodeLine{cutpoint }

\end{DoxyCode}
 is missing a key name or on allocation problems \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_af4ff63001e774130490386b2f26c0cf7}\label{classorg_1_1libelektra_1_1KeySet_af4ff63001e774130490386b2f26c0cf7}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!descendingIterator@{descendingIterator}}
\index{descendingIterator@{descendingIterator}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{descendingIterator()}{descendingIterator()}}
{\footnotesize\ttfamily Iterator$<$\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}}$>$ org.\+libelektra.\+Key\+Set.\+descending\+Iterator (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}





\begin{DoxyReturn}{Returns}
New \mbox{\hyperlink{}{Descending\+Key\+Set\+Iterator}} backed by this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} 
\end{DoxyReturn}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_ae39ac7545e7c02f91299335e1fd52058}\label{classorg_1_1libelektra_1_1KeySet_ae39ac7545e7c02f91299335e1fd52058}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!descendingSet@{descendingSet}}
\index{descendingSet@{descendingSet}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{descendingSet()}{descendingSet()}}
{\footnotesize\ttfamily Navigable\+Set$<$\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}}$>$ org.\+libelektra.\+Key\+Set.\+descending\+Set (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}





\begin{DoxyReturn}{Returns}
New \mbox{\hyperlink{}{Descending\+Key\+Set\+View}} backed by this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} 
\end{DoxyReturn}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_af3571c68cd55983c45666cf9f75143a1}\label{classorg_1_1libelektra_1_1KeySet_af3571c68cd55983c45666cf9f75143a1}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!dup@{dup}}
\index{dup@{dup}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{dup()}{dup()}}
{\footnotesize\ttfamily \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} org.\+libelektra.\+Key\+Set.\+dup (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Duplicates the key set. 

\begin{DoxyReturn}{Returns}
New \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} containing the same key references as this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} does 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} has already been released \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_a8536b95ff54ef2cc80004d0dbfac736d}\label{classorg_1_1libelektra_1_1KeySet_a8536b95ff54ef2cc80004d0dbfac736d}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!first@{first}}
\index{first@{first}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{first()}{first()}}
{\footnotesize\ttfamily \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} org.\+libelektra.\+Key\+Set.\+first (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}






\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} has already been released \\
\hline
{\em No\+Such\+Element\+Exception} & \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_aa2e1c9402eda78b88c4ae94577700797}\label{classorg_1_1libelektra_1_1KeySet_aa2e1c9402eda78b88c4ae94577700797}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!floor@{floor}}
\index{floor@{floor}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{floor()}{floor()}}
{\footnotesize\ttfamily \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} org.\+libelektra.\+Key\+Set.\+floor (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}}}]{key }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}






\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} has already been released \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_ae48a42eace65f38a2cb23ba6dd432271}\label{classorg_1_1libelektra_1_1KeySet_ae48a42eace65f38a2cb23ba6dd432271}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!getPointer@{getPointer}}
\index{getPointer@{getPointer}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{getPointer()}{getPointer()}}
{\footnotesize\ttfamily Pointer org.\+libelektra.\+Key\+Set.\+get\+Pointer (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [protected]}}

\begin{DoxyReturn}{Returns}
JNA pointer to the native pointer for this key set 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} has already been released \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_a59573f0f6784f8d3495dd3eaf74ee0b8}\label{classorg_1_1libelektra_1_1KeySet_a59573f0f6784f8d3495dd3eaf74ee0b8}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!headSet@{headSet}}
\index{headSet@{headSet}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{headSet()}{headSet()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily Sorted\+Set$<$\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}}$>$ org.\+libelektra.\+Key\+Set.\+head\+Set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}}}]{to\+Element }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}






\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} has already been released \\
\hline
{\em Null\+Pointer\+Exception} & if
\begin{DoxyCode}{1}
\DoxyCodeLine{toElement }

\end{DoxyCode}
 is
\begin{DoxyCode}{1}
\DoxyCodeLine{\textcolor{keyword}{null} }

\end{DoxyCode}
 \\
\hline
{\em Illegal\+Argument\+Exception} & \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_af234591ec141bd2061725080d1495828}\label{classorg_1_1libelektra_1_1KeySet_af234591ec141bd2061725080d1495828}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!headSet@{headSet}}
\index{headSet@{headSet}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{headSet()}{headSet()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily Navigable\+Set$<$\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}}$>$ org.\+libelektra.\+Key\+Set.\+head\+Set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}}}]{to\+Element,  }\item[{boolean}]{inclusive }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}






\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} has already been released \\
\hline
{\em Null\+Pointer\+Exception} & if
\begin{DoxyCode}{1}
\DoxyCodeLine{toElement }

\end{DoxyCode}
 is
\begin{DoxyCode}{1}
\DoxyCodeLine{\textcolor{keyword}{null} }

\end{DoxyCode}
 \\
\hline
{\em Illegal\+Argument\+Exception} & \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_a2fc93edf106c252490d6e16a50720de6}\label{classorg_1_1libelektra_1_1KeySet_a2fc93edf106c252490d6e16a50720de6}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!higher@{higher}}
\index{higher@{higher}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{higher()}{higher()}}
{\footnotesize\ttfamily \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} org.\+libelektra.\+Key\+Set.\+higher (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}}}]{key }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}






\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} has already been released \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_adc027550f6c563952559fb5f160910e1}\label{classorg_1_1libelektra_1_1KeySet_adc027550f6c563952559fb5f160910e1}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!indexOf@{indexOf}}
\index{indexOf@{indexOf}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{indexOf()}{indexOf()}}
{\footnotesize\ttfamily int org.\+libelektra.\+Key\+Set.\+index\+Of (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}}}]{key }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}


\begin{DoxyParams}{Parameters}
{\em key} & \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} to look for \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Index of the
\begin{DoxyCode}{0}
\DoxyCodeLine{key }

\end{DoxyCode}
 in this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} or
\begin{DoxyCode}{1}
\DoxyCodeLine{key }

\end{DoxyCode}
 has already been released \\
\hline
{\em Illegal\+Argument\+Exception} & if
\begin{DoxyCode}{1}
\DoxyCodeLine{key }

\end{DoxyCode}
 was not found in this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_a6763d1136c890fb0087d9306a334f831}\label{classorg_1_1libelektra_1_1KeySet_a6763d1136c890fb0087d9306a334f831}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!isEmpty@{isEmpty}}
\index{isEmpty@{isEmpty}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{isEmpty()}{isEmpty()}}
{\footnotesize\ttfamily boolean org.\+libelektra.\+Key\+Set.\+is\+Empty (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}






\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} has already been released \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_a1a3b37dff55df600c4fee6bea714a8d9}\label{classorg_1_1libelektra_1_1KeySet_a1a3b37dff55df600c4fee6bea714a8d9}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!iterator@{iterator}}
\index{iterator@{iterator}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{iterator()}{iterator()}}
{\footnotesize\ttfamily Iterator$<$\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}}$>$ org.\+libelektra.\+Key\+Set.\+iterator (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}





\begin{DoxyReturn}{Returns}
New \mbox{\hyperlink{}{Key\+Set\+Iterator}} backed by this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} 
\end{DoxyReturn}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_ab4d9dcee5031e7b910c14672810bfb7c}\label{classorg_1_1libelektra_1_1KeySet_ab4d9dcee5031e7b910c14672810bfb7c}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!last@{last}}
\index{last@{last}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{last()}{last()}}
{\footnotesize\ttfamily \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} org.\+libelektra.\+Key\+Set.\+last (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}






\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} has already been released \\
\hline
{\em No\+Such\+Element\+Exception} & \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_a0d56925d157879f71c0fb68360dcf3bf}\label{classorg_1_1libelektra_1_1KeySet_a0d56925d157879f71c0fb68360dcf3bf}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!lookup@{lookup}}
\index{lookup@{lookup}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{lookup()}{lookup()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily Optional$<$\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}}$>$ org.\+libelektra.\+Key\+Set.\+lookup (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}}}]{find }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Search for a key in the key set. 


\begin{DoxyParams}{Parameters}
{\em find} & \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} used in search \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} if search successful, \mbox{\hyperlink{}{Optional\#empty()}} otherwise 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} has already been released \\
\hline
{\em Illegal\+Argument\+Exception} & if
\begin{DoxyCode}{1}
\DoxyCodeLine{key }

\end{DoxyCode}
 is
\begin{DoxyCode}{1}
\DoxyCodeLine{\textcolor{keyword}{null} }

\end{DoxyCode}
 \\
\hline
\end{DoxyExceptions}
\begin{DoxySeeAlso}{See also}
\#contains(\+Object) 
\end{DoxySeeAlso}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_a50a2c161fdd8d48cddf2c6980822a107}\label{classorg_1_1libelektra_1_1KeySet_a50a2c161fdd8d48cddf2c6980822a107}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!lookup@{lookup}}
\index{lookup@{lookup}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{lookup()}{lookup()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily Optional$<$\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}}$>$ org.\+libelektra.\+Key\+Set.\+lookup (\begin{DoxyParamCaption}\item[{String}]{find }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Search for a key in the key set. 


\begin{DoxyParams}{Parameters}
{\em find} & \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} name used in search \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} if search successful, \mbox{\hyperlink{}{Optional\#empty()}} otherwise 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} has already been released \\
\hline
{\em Illegal\+Argument\+Exception} & if
\begin{DoxyCode}{1}
\DoxyCodeLine{find }

\end{DoxyCode}
 is \mbox{\hyperlink{}{blank}} \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_a4d54ca015aafd709291171fe1d999562}\label{classorg_1_1libelektra_1_1KeySet_a4d54ca015aafd709291171fe1d999562}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!lower@{lower}}
\index{lower@{lower}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{lower()}{lower()}}
{\footnotesize\ttfamily \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} org.\+libelektra.\+Key\+Set.\+lower (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}}}]{key }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}






\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} has already been released \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_af2012c3f3f42cae5c68e0ac90f5dcdaf}\label{classorg_1_1libelektra_1_1KeySet_af2012c3f3f42cae5c68e0ac90f5dcdaf}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!pollFirst@{pollFirst}}
\index{pollFirst@{pollFirst}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{pollFirst()}{pollFirst()}}
{\footnotesize\ttfamily \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} org.\+libelektra.\+Key\+Set.\+poll\+First (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}






\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} has already been released \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_a851f78b382e8723623a71b6eb2cbddc2}\label{classorg_1_1libelektra_1_1KeySet_a851f78b382e8723623a71b6eb2cbddc2}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!pollLast@{pollLast}}
\index{pollLast@{pollLast}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{pollLast()}{pollLast()}}
{\footnotesize\ttfamily \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} org.\+libelektra.\+Key\+Set.\+poll\+Last (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}






\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} has already been released \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_a1302d1a59480851a0de54dcad2a50b6d}\label{classorg_1_1libelektra_1_1KeySet_a1302d1a59480851a0de54dcad2a50b6d}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!remove@{remove}}
\index{remove@{remove}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{remove()}{remove()}\hspace{0.1cm}{\footnotesize\ttfamily [1/4]}}
{\footnotesize\ttfamily \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} org.\+libelektra.\+Key\+Set.\+remove (\begin{DoxyParamCaption}\item[{int}]{cursor }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Returns key from key set and also removes it from the set. 


\begin{DoxyParams}{Parameters}
{\em cursor} & Cursor position of the key to remove; starting from 0 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} found at given cursor position 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} has already been released \\
\hline
{\em Index\+Out\+Of\+Bounds\+Exception} & if position is out of bounds \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_a6f65ce632ab578177d6221bf8baf2314}\label{classorg_1_1libelektra_1_1KeySet_a6f65ce632ab578177d6221bf8baf2314}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!remove@{remove}}
\index{remove@{remove}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{remove()}{remove()}\hspace{0.1cm}{\footnotesize\ttfamily [2/4]}}
{\footnotesize\ttfamily boolean org.\+libelektra.\+Key\+Set.\+remove (\begin{DoxyParamCaption}\item[{Object}]{o }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}






\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} has already been released \\
\hline
\end{DoxyExceptions}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_aefc04dd855e2cf6668359a0a9f01f05f}{remove(\+Readable\+Key)}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_aefc04dd855e2cf6668359a0a9f01f05f}\label{classorg_1_1libelektra_1_1KeySet_aefc04dd855e2cf6668359a0a9f01f05f}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!remove@{remove}}
\index{remove@{remove}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{remove()}{remove()}\hspace{0.1cm}{\footnotesize\ttfamily [3/4]}}
{\footnotesize\ttfamily Optional$<$\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}}$>$ org.\+libelektra.\+Key\+Set.\+remove (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}}}]{key }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Removes the specified key from key set. 


\begin{DoxyParams}{Parameters}
{\em key} & \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} to remove \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Removed \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} from the key set, matching the specified
\begin{DoxyCode}{0}
\DoxyCodeLine{key }

\end{DoxyCode}
 \textquotesingle{}s name. May or may not reference the same native key resource. \mbox{\hyperlink{}{Optional\#empty()}} if the specified 
\begin{DoxyCode}{0}
\DoxyCodeLine{key }

\end{DoxyCode}
 was not found. 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} or
\begin{DoxyCode}{1}
\DoxyCodeLine{key }

\end{DoxyCode}
 has already been released \\
\hline
{\em Illegal\+Argument\+Exception} & if
\begin{DoxyCode}{1}
\DoxyCodeLine{key }

\end{DoxyCode}
 is
\begin{DoxyCode}{1}
\DoxyCodeLine{\textcolor{keyword}{null} }

\end{DoxyCode}
 \\
\hline
\end{DoxyExceptions}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_a6f65ce632ab578177d6221bf8baf2314}{remove(\+Object)}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_a72c1806bdad5928fd69514f5be84a15e}\label{classorg_1_1libelektra_1_1KeySet_a72c1806bdad5928fd69514f5be84a15e}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!remove@{remove}}
\index{remove@{remove}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{remove()}{remove()}\hspace{0.1cm}{\footnotesize\ttfamily [4/4]}}
{\footnotesize\ttfamily Optional$<$\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}}$>$ org.\+libelektra.\+Key\+Set.\+remove (\begin{DoxyParamCaption}\item[{String}]{find }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Removes the key with the specified name from key set. 


\begin{DoxyParams}{Parameters}
{\em find} & Name of the key to remove \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Removed \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} from the key set, matching the specified
\begin{DoxyCode}{0}
\DoxyCodeLine{key }

\end{DoxyCode}
 \textquotesingle{}s name. \{\mbox{\hyperlink{}{\} if the no key matching the specified name was not found.  Illegal\+State\+Exception if this  Key\+Set\} has already been released  Illegal\+Argument\+Exception if find  is  String\#is\+Blank() blank\} }}
\end{DoxyReturn}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_a8db68eb31afacc3fcff2ed8b50c059fb}\label{classorg_1_1libelektra_1_1KeySet_a8db68eb31afacc3fcff2ed8b50c059fb}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!removeAll@{removeAll}}
\index{removeAll@{removeAll}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{removeAll()}{removeAll()}}
{\footnotesize\ttfamily boolean org.\+libelektra.\+Key\+Set.\+remove\+All (\begin{DoxyParamCaption}\item[{Collection$<$?$>$}]{c }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}






\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} has already been released \\
\hline
{\em Null\+Pointer\+Exception} & if the specified collection is
\begin{DoxyCode}{1}
\DoxyCodeLine{\textcolor{keyword}{null} }

\end{DoxyCode}
 or contains
\begin{DoxyCode}{1}
\DoxyCodeLine{\textcolor{keyword}{null} }

\end{DoxyCode}
 elements \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_a4c482a84c226b2802335a44eff4e6d40}\label{classorg_1_1libelektra_1_1KeySet_a4c482a84c226b2802335a44eff4e6d40}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!retainAll@{retainAll}}
\index{retainAll@{retainAll}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{retainAll()}{retainAll()}}
{\footnotesize\ttfamily boolean org.\+libelektra.\+Key\+Set.\+retain\+All (\begin{DoxyParamCaption}\item[{Collection$<$?$>$}]{c }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}






\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} has already been released \\
\hline
{\em Null\+Pointer\+Exception} & if the specified collection is
\begin{DoxyCode}{1}
\DoxyCodeLine{\textcolor{keyword}{null} }

\end{DoxyCode}
 or contains
\begin{DoxyCode}{1}
\DoxyCodeLine{\textcolor{keyword}{null} }

\end{DoxyCode}
 elements \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_a9244d4c9a07e61c5842dcd2fc620e4d6}\label{classorg_1_1libelektra_1_1KeySet_a9244d4c9a07e61c5842dcd2fc620e4d6}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!size@{size}}
\index{size@{size}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{size()}{size()}}
{\footnotesize\ttfamily int org.\+libelektra.\+Key\+Set.\+size (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}






\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} has already been released \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_a32d0f71e5bee4776eb040cd92aa11fd4}\label{classorg_1_1libelektra_1_1KeySet_a32d0f71e5bee4776eb040cd92aa11fd4}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!subSet@{subSet}}
\index{subSet@{subSet}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{subSet()}{subSet()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily Navigable\+Set$<$\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}}$>$ org.\+libelektra.\+Key\+Set.\+sub\+Set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}}}]{from\+Element,  }\item[{boolean}]{from\+Inclusive,  }\item[{\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}}}]{to\+Element,  }\item[{boolean}]{to\+Inclusive }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}






\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} has already been released \\
\hline
{\em Null\+Pointer\+Exception} & if
\begin{DoxyCode}{1}
\DoxyCodeLine{fromElement }

\end{DoxyCode}
 or
\begin{DoxyCode}{1}
\DoxyCodeLine{toElement }

\end{DoxyCode}
 is
\begin{DoxyCode}{1}
\DoxyCodeLine{\textcolor{keyword}{null} }

\end{DoxyCode}
 \\
\hline
{\em Illegal\+Argument\+Exception} & \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_ab3d3ef3c47ec6b8234908c7f46fc96cb}\label{classorg_1_1libelektra_1_1KeySet_ab3d3ef3c47ec6b8234908c7f46fc96cb}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!subSet@{subSet}}
\index{subSet@{subSet}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{subSet()}{subSet()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily Sorted\+Set$<$\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}}$>$ org.\+libelektra.\+Key\+Set.\+sub\+Set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}}}]{from\+Element,  }\item[{\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}}}]{to\+Element }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}






\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} has already been released \\
\hline
{\em Null\+Pointer\+Exception} & if
\begin{DoxyCode}{1}
\DoxyCodeLine{fromElement }

\end{DoxyCode}
 or
\begin{DoxyCode}{1}
\DoxyCodeLine{toElement }

\end{DoxyCode}
 is
\begin{DoxyCode}{1}
\DoxyCodeLine{\textcolor{keyword}{null} }

\end{DoxyCode}
 \\
\hline
{\em Illegal\+Argument\+Exception} & \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_a9a75b15506fcffe6b6e3090cb71befa3}\label{classorg_1_1libelektra_1_1KeySet_a9a75b15506fcffe6b6e3090cb71befa3}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!tailSet@{tailSet}}
\index{tailSet@{tailSet}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{tailSet()}{tailSet()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily Sorted\+Set$<$\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}}$>$ org.\+libelektra.\+Key\+Set.\+tail\+Set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}}}]{from\+Element }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}






\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} has already been released \\
\hline
{\em Null\+Pointer\+Exception} & if
\begin{DoxyCode}{1}
\DoxyCodeLine{fromElement }

\end{DoxyCode}
 is
\begin{DoxyCode}{1}
\DoxyCodeLine{\textcolor{keyword}{null} }

\end{DoxyCode}
 \\
\hline
{\em Illegal\+Argument\+Exception} & \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_a6772c0356e2173cfba157f7bb5b7132d}\label{classorg_1_1libelektra_1_1KeySet_a6772c0356e2173cfba157f7bb5b7132d}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!tailSet@{tailSet}}
\index{tailSet@{tailSet}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{tailSet()}{tailSet()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily Navigable\+Set$<$\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}}$>$ org.\+libelektra.\+Key\+Set.\+tail\+Set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}}}]{from\+Element,  }\item[{boolean}]{inclusive }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}






\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} has already been released \\
\hline
{\em Null\+Pointer\+Exception} & if
\begin{DoxyCode}{1}
\DoxyCodeLine{fromElement }

\end{DoxyCode}
 is
\begin{DoxyCode}{1}
\DoxyCodeLine{\textcolor{keyword}{null} }

\end{DoxyCode}
 \\
\hline
{\em Illegal\+Argument\+Exception} & \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_a72693fc530aba1531fc2acccbc499e61}\label{classorg_1_1libelektra_1_1KeySet_a72693fc530aba1531fc2acccbc499e61}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!toArray@{toArray}}
\index{toArray@{toArray}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{toArray()}{toArray()}}
{\footnotesize\ttfamily Object \mbox{[}$\,$\mbox{]} org.\+libelektra.\+Key\+Set.\+to\+Array (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}






\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} & if this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} has already been released \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1KeySet_a9c1e2918acce8c7cda5be406989c87af}\label{classorg_1_1libelektra_1_1KeySet_a9c1e2918acce8c7cda5be406989c87af}} 
\index{org.libelektra.KeySet@{org.libelektra.KeySet}!toString@{toString}}
\index{toString@{toString}!org.libelektra.KeySet@{org.libelektra.KeySet}}
\doxysubsubsection{\texorpdfstring{toString()}{toString()}}
{\footnotesize\ttfamily String org.\+libelektra.\+Key\+Set.\+to\+String (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Iterates though all keys in this key set and appends their representation to the output. 

Uses the \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet_a9c1e2918acce8c7cda5be406989c87af}{to\+String()}} function of the \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} objects.

\begin{DoxyReturn}{Returns}
Represents this \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}} as string 
\end{DoxyReturn}


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