<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\hypertarget{classorg_1_1libelektra_1_1ReadableKey}{}\doxysection{org.\+libelektra.\+Readable\+Key Class Reference}
\label{classorg_1_1libelektra_1_1ReadableKey}\index{org.libelektra.ReadableKey@{org.libelektra.ReadableKey}}


Read only key representing a native Elektra key providing read access to its name and value.  




Inheritance diagram for org.\+libelektra.\+Readable\+Key\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=229pt]{classorg_1_1libelektra_1_1ReadableKey__inherit__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
String \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_a60f14adf037c101ce0e1a549ed85d949}{to\+String}} ()
\item 
Iterator$&lt;$ String $&gt;$ \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_a73dff9d4bc9deda641b9514c7a5f871e}{key\+Name\+Iterator}} ()
\item 
boolean \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_a1c9e57eb89446e64a96a95654ffadc0f}{get\+Boolean}} ()
\item 
byte \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_ab27a5c731c55e2b7f57cf61866a2b9f4}{get\+Byte}} ()
\item 
short \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_a7f21e632a9f1116a4626e54d9f828358}{get\+Short}} ()
\item 
int \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_a1756c33b217de9693c95527a7b3d444e}{get\+Int}} ()
\item 
long \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_aab9019b73a1f9369f6425912e8489ca5}{get\+Long}} ()
\item 
float \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_a5f8b88c3505e51ed872d3f70bee34830}{get\+Float}} ()
\item 
double \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_ae91c76573983d323b5ad989fad568c3c}{get\+Double}} ()
\item 
String \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_ab4fea32b02cd41014b72f76e8d311a11}{get\+String}} ()
\item 
\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_aa2df74113597737fd30c41a7da33df67}{dup}} ()
\begin{DoxyCompactList}\small\item\em Duplicates this \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} as \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_af18736fab2f3e30928055d8560b83e40}{dup}} (int flags)
\begin{DoxyCompactList}\small\item\em Duplicates this \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} as \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}}. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_acdf59e5d1914519e74449b1deeee913f}{compare\+To}} (\mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} other)
\begin{DoxyCompactList}\small\item\em Compares this key with the. \end{DoxyCompactList}\item 
boolean \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_a364c07c0e2705c5dc448f4cc20b04b19}{is\+Below}} (\mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} other)
\begin{DoxyCompactList}\small\item\em Checks whether this key is sub-\/key of the. \end{DoxyCompactList}\item 
boolean \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_a2b6341dc92c8928250516b45edb91134}{is\+Below\+Or\+Same}} (\mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} other)
\begin{DoxyCompactList}\small\item\em Checks whether this key is the same as the. \end{DoxyCompactList}\item 
boolean \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_a8d807d1a96823d7080eb89e1bcbac625}{is\+Directly\+Below}} (\mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} other)
\begin{DoxyCompactList}\small\item\em Checks whether this key is direct sub-\/key of the. \end{DoxyCompactList}\item 
boolean \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_addd0298940a3db31200777bf317e9a85}{is\+Binary}} ()
\item 
boolean \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_a20f9afda812270b7733fe1c7bdd8733e}{is\+String}} ()
\item 
String \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_ad9c4c376152d7056c0946637db6084d6}{get\+Name}} ()
\item 
int \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_a2c1492751af01b8275f4f8ce5d40077b}{get\+Name\+Size}} ()
\item 
String \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_aedf4a040202fac5304b3aee48b549571}{get\+Base\+Name}} ()
\item 
int \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_a0000728666989c153d75d05075126ac6}{get\+Base\+Name\+Size}} ()
\item 
int \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_a87d618e2598ad2d760f04c4aa02897bb}{get\+Value\+Size}} ()
\end{DoxyCompactItemize}
\doxysubsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classorg_1_1libelektra_1_1ReadableKey_a91bcdf7257f152c8d637f3878374ac48}\label{classorg_1_1libelektra_1_1ReadableKey_a91bcdf7257f152c8d637f3878374ac48}} 
static final int \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_a91bcdf7257f152c8d637f3878374ac48}{KEY\+\_\+\+CP\+\_\+\+NAME}} = 1 $&lt;$$&lt;$ 0
\begin{DoxyCompactList}\small\item\em Flag for use with \mbox{\hyperlink{classorg_1_1libelektra_1_1Key_a20bd24e5623954f644682968b6ec6c7c}{Key\#copy(\+Key, int)}} and \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_af18736fab2f3e30928055d8560b83e40}{dup(int)}} for copying the key name. \end{DoxyCompactList}\item 
static final int \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_ae36369276b806cc9015e84f39d9c06c0}{KEY\+\_\+\+CP\+\_\+\+STRING}} = 1 $&lt;$$&lt;$ 1
\begin{DoxyCompactList}\small\item\em Flag for use with \mbox{\hyperlink{classorg_1_1libelektra_1_1Key_a20bd24e5623954f644682968b6ec6c7c}{Key\#copy(\+Key, int)}} and \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_af18736fab2f3e30928055d8560b83e40}{dup(int)}} for copying the key value, if it is a string. \end{DoxyCompactList}\item 
static final int \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_a464fdbb9e7d2fc4d705627830e2651cb}{KEY\+\_\+\+CP\+\_\+\+VALUE}} = 1 $&lt;$$&lt;$ 2
\begin{DoxyCompactList}\small\item\em Flag for use with \mbox{\hyperlink{classorg_1_1libelektra_1_1Key_a20bd24e5623954f644682968b6ec6c7c}{Key\#copy(\+Key, int)}} and \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_af18736fab2f3e30928055d8560b83e40}{dup(int)}} for copying the key value. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classorg_1_1libelektra_1_1ReadableKey_af87e13c0633a408bd0d82c779adecf6a}\label{classorg_1_1libelektra_1_1ReadableKey_af87e13c0633a408bd0d82c779adecf6a}} 
static final int \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_af87e13c0633a408bd0d82c779adecf6a}{KEY\+\_\+\+CP\+\_\+\+META}} = 1 $&lt;$$&lt;$ 3
\begin{DoxyCompactList}\small\item\em Flag for use with \mbox{\hyperlink{classorg_1_1libelektra_1_1Key_a20bd24e5623954f644682968b6ec6c7c}{Key\#copy(\+Key, int)}} and \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_af18736fab2f3e30928055d8560b83e40}{dup(int)}} for copying the key metadata. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classorg_1_1libelektra_1_1ReadableKey_a932ac6ceccdc2af744b172574848c767}\label{classorg_1_1libelektra_1_1ReadableKey_a932ac6ceccdc2af744b172574848c767}} 
static final int \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_a932ac6ceccdc2af744b172574848c767}{KEY\+\_\+\+CP\+\_\+\+ALL}} = \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_a91bcdf7257f152c8d637f3878374ac48}{KEY\+\_\+\+CP\+\_\+\+NAME}} $\vert$ \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_a464fdbb9e7d2fc4d705627830e2651cb}{KEY\+\_\+\+CP\+\_\+\+VALUE}} $\vert$ \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_af87e13c0633a408bd0d82c779adecf6a}{KEY\+\_\+\+CP\+\_\+\+META}}
\begin{DoxyCompactList}\small\item\em Flag for use with \mbox{\hyperlink{classorg_1_1libelektra_1_1Key_a20bd24e5623954f644682968b6ec6c7c}{Key\#copy(\+Key, int)}} and \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_af18736fab2f3e30928055d8560b83e40}{dup(int)}} for copying the key name, value and metadata. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_aa5ceab1e67fe67005f35f1cb84dd40dd}{Readable\+Key}} (Pointer pointer)
\begin{DoxyCompactList}\small\item\em Constructor associating a new \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} instance with a JNA pointer. \end{DoxyCompactList}\item 
\mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_ac8f034d516ed3cb07b4a705bda071d4e}{Readable\+Key}} (Pointer pointer, boolean suppress\+Clean\+Up)
\begin{DoxyCompactList}\small\item\em Constructor associating a new \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} instance with a JNA pointer~\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 
void \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_a273b1124e62df00ba5ecb113321857bb}{release}} ()
\begin{DoxyCompactList}\small\item\em Clean-\/up method to release key reference by first decrementing its reference counter and then trying to free the native reference~\newline
 ~\newline
 Call this method if you do not longer need a \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} and obtained it via any of its public methods or the public methods of \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}}. \end{DoxyCompactList}\item 
Pointer \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_a1fb9377ece718f0f1d038e956ce3b7a0}{get\+Pointer}} ()
\end{DoxyCompactItemize}
\doxysubsection*{Static Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
static Optional$&lt;$ \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} $&gt;$ \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_a00ca8c4fb2ded1eed0bc25aa24265346}{create\+Read\+Only}} (@Nullable Pointer pointer)
\begin{DoxyCompactList}\small\item\em Constructs a new \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} instance associated with a JNA pointer. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Read only key representing a native Elektra key providing read access to its name and value. 

@api\+Note This abstraction is used to represent meta keys being read only by definition and cannot contain binary data 

\doxysubsection{Constructor \&amp; Destructor Documentation}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1ReadableKey_aa5ceab1e67fe67005f35f1cb84dd40dd}\label{classorg_1_1libelektra_1_1ReadableKey_aa5ceab1e67fe67005f35f1cb84dd40dd}} 
\index{org.libelektra.ReadableKey@{org.libelektra.ReadableKey}!ReadableKey@{ReadableKey}}
\index{ReadableKey@{ReadableKey}!org.libelektra.ReadableKey@{org.libelektra.ReadableKey}}
\doxysubsubsection{\texorpdfstring{ReadableKey()}{ReadableKey()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily org.\+libelektra.\+Readable\+Key.\+Readable\+Key (\begin{DoxyParamCaption}\item[{Pointer}]{pointer }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [protected]}}



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


\begin{DoxyParams}{Parameters}
{\em pointer} &amp; JNA \mbox{\hyperlink{}{Pointer}} to key \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_a273b1124e62df00ba5ecb113321857bb}{release()}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1ReadableKey_ac8f034d516ed3cb07b4a705bda071d4e}\label{classorg_1_1libelektra_1_1ReadableKey_ac8f034d516ed3cb07b4a705bda071d4e}} 
\index{org.libelektra.ReadableKey@{org.libelektra.ReadableKey}!ReadableKey@{ReadableKey}}
\index{ReadableKey@{ReadableKey}!org.libelektra.ReadableKey@{org.libelektra.ReadableKey}}
\doxysubsubsection{\texorpdfstring{ReadableKey()}{ReadableKey()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily org.\+libelektra.\+Readable\+Key.\+Readable\+Key (\begin{DoxyParamCaption}\item[{Pointer}]{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_1ReadableKey}{Readable\+Key}} instance with a JNA pointer~\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 pointer} &amp; JNA \mbox{\hyperlink{}{Pointer}} to key \\
\hline
{\em suppress\+Clean\+Up} &amp; True to suppress native reference clean-\/up as soon as this \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} instance becomes phantom reachable, false otherwise \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_a273b1124e62df00ba5ecb113321857bb}{release()}} 
\end{DoxySeeAlso}


\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1ReadableKey_acdf59e5d1914519e74449b1deeee913f}\label{classorg_1_1libelektra_1_1ReadableKey_acdf59e5d1914519e74449b1deeee913f}} 
\index{org.libelektra.ReadableKey@{org.libelektra.ReadableKey}!compareTo@{compareTo}}
\index{compareTo@{compareTo}!org.libelektra.ReadableKey@{org.libelektra.ReadableKey}}
\doxysubsubsection{\texorpdfstring{compareTo()}{compareTo()}}
{\footnotesize\ttfamily int org.\+libelektra.\+Readable\+Key.\+compare\+To (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}}}]{other }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Compares this key with the. 


\begin{DoxyCode}{0}
\DoxyCodeLine{other }

\end{DoxyCode}
 key by comparing the key name with string comparison


\begin{DoxyParams}{Parameters}
{\em other} &amp; Other key to compare this key to \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}

\begin{DoxyItemize}
\item 0 if key name is equal 
\item -\/1 if this key name has lower alphabetical order than the
\begin{DoxyCode}{0}
\DoxyCodeLine{other }

\end{DoxyCode}
 key 
\item 1 if this key has higher alphabetical order 
\end{DoxyItemize}
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} &amp; if this or the
\begin{DoxyCode}{1}
\DoxyCodeLine{other }

\end{DoxyCode}
 \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} has already been released \\
\hline
{\em Illegal\+Argument\+Exception} &amp; if
\begin{DoxyCode}{1}
\DoxyCodeLine{other }

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

\end{DoxyCode}
 \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1ReadableKey_a00ca8c4fb2ded1eed0bc25aa24265346}\label{classorg_1_1libelektra_1_1ReadableKey_a00ca8c4fb2ded1eed0bc25aa24265346}} 
\index{org.libelektra.ReadableKey@{org.libelektra.ReadableKey}!createReadOnly@{createReadOnly}}
\index{createReadOnly@{createReadOnly}!org.libelektra.ReadableKey@{org.libelektra.ReadableKey}}
\doxysubsubsection{\texorpdfstring{createReadOnly()}{createReadOnly()}}
{\footnotesize\ttfamily static Optional$&lt;$\mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}}$&gt;$ org.\+libelektra.\+Readable\+Key.\+create\+Read\+Only (\begin{DoxyParamCaption}\item[{@Nullable Pointer}]{pointer }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}, {\ttfamily [protected]}}



Constructs a new \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} instance associated with a JNA pointer. 


\begin{DoxyParams}{Parameters}
{\em pointer} &amp; Optional JNA \mbox{\hyperlink{}{Pointer}} to key \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
New \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} instance if
\begin{DoxyCode}{0}
\DoxyCodeLine{pointer }

\end{DoxyCode}
 is non-\/null, \{\mbox{\hyperlink{}{\} otherwise  \#release() }}
\end{DoxyReturn}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1ReadableKey_aa2df74113597737fd30c41a7da33df67}\label{classorg_1_1libelektra_1_1ReadableKey_aa2df74113597737fd30c41a7da33df67}} 
\index{org.libelektra.ReadableKey@{org.libelektra.ReadableKey}!dup@{dup}}
\index{dup@{dup}!org.libelektra.ReadableKey@{org.libelektra.ReadableKey}}
\doxysubsubsection{\texorpdfstring{dup()}{dup()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} org.\+libelektra.\+Readable\+Key.\+dup (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Duplicates this \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} as \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}}. 

\begin{DoxyReturn}{Returns}
New \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} object containing the same information as this key 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Key\+Exception} &amp; if copying failed \\
\hline
{\em Illegal\+State\+Exception} &amp; if this \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} has already been released \\
\hline
\end{DoxyExceptions}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_af18736fab2f3e30928055d8560b83e40}{dup(int)}} 

\mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_a273b1124e62df00ba5ecb113321857bb}{release()}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1ReadableKey_af18736fab2f3e30928055d8560b83e40}\label{classorg_1_1libelektra_1_1ReadableKey_af18736fab2f3e30928055d8560b83e40}} 
\index{org.libelektra.ReadableKey@{org.libelektra.ReadableKey}!dup@{dup}}
\index{dup@{dup}!org.libelektra.ReadableKey@{org.libelektra.ReadableKey}}
\doxysubsubsection{\texorpdfstring{dup()}{dup()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} org.\+libelektra.\+Readable\+Key.\+dup (\begin{DoxyParamCaption}\item[{int}]{flags }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Duplicates this \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} as \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}}. 


\begin{DoxyParams}{Parameters}
{\em flags} &amp; Flags indicating which parts of the key to copy~\newline
 Example\+:~\newline
 \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_a91bcdf7257f152c8d637f3878374ac48}{KEY\+\_\+\+CP\+\_\+\+NAME}} $\vert$ \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_a464fdbb9e7d2fc4d705627830e2651cb}{KEY\+\_\+\+CP\+\_\+\+VALUE}} \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
New \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} object containing the same information as this key 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Key\+Exception} &amp; if copying failed \\
\hline
{\em Illegal\+State\+Exception} &amp; if this \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} has already been released \\
\hline
\end{DoxyExceptions}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_aa2df74113597737fd30c41a7da33df67}{dup()}} 

\mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_a273b1124e62df00ba5ecb113321857bb}{release()}} 

\mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_a932ac6ceccdc2af744b172574848c767}{KEY\+\_\+\+CP\+\_\+\+ALL}} 

\mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_af87e13c0633a408bd0d82c779adecf6a}{KEY\+\_\+\+CP\+\_\+\+META}} 

\mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_a91bcdf7257f152c8d637f3878374ac48}{KEY\+\_\+\+CP\+\_\+\+NAME}} 

\mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_ae36369276b806cc9015e84f39d9c06c0}{KEY\+\_\+\+CP\+\_\+\+STRING}} 

\mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_a464fdbb9e7d2fc4d705627830e2651cb}{KEY\+\_\+\+CP\+\_\+\+VALUE}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1ReadableKey_aedf4a040202fac5304b3aee48b549571}\label{classorg_1_1libelektra_1_1ReadableKey_aedf4a040202fac5304b3aee48b549571}} 
\index{org.libelektra.ReadableKey@{org.libelektra.ReadableKey}!getBaseName@{getBaseName}}
\index{getBaseName@{getBaseName}!org.libelektra.ReadableKey@{org.libelektra.ReadableKey}}
\doxysubsubsection{\texorpdfstring{getBaseName()}{getBaseName()}}
{\footnotesize\ttfamily String org.\+libelektra.\+Readable\+Key.\+get\+Base\+Name (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}}\textquotesingle{}s base name as String 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} &amp; if this \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} has already been released \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1ReadableKey_a0000728666989c153d75d05075126ac6}\label{classorg_1_1libelektra_1_1ReadableKey_a0000728666989c153d75d05075126ac6}} 
\index{org.libelektra.ReadableKey@{org.libelektra.ReadableKey}!getBaseNameSize@{getBaseNameSize}}
\index{getBaseNameSize@{getBaseNameSize}!org.libelektra.ReadableKey@{org.libelektra.ReadableKey}}
\doxysubsubsection{\texorpdfstring{getBaseNameSize()}{getBaseNameSize()}}
{\footnotesize\ttfamily int org.\+libelektra.\+Readable\+Key.\+get\+Base\+Name\+Size (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\begin{DoxyReturn}{Returns}
Length of key\textquotesingle{}s base name 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} &amp; if this \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} has already been released \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1ReadableKey_a1c9e57eb89446e64a96a95654ffadc0f}\label{classorg_1_1libelektra_1_1ReadableKey_a1c9e57eb89446e64a96a95654ffadc0f}} 
\index{org.libelektra.ReadableKey@{org.libelektra.ReadableKey}!getBoolean@{getBoolean}}
\index{getBoolean@{getBoolean}!org.libelektra.ReadableKey@{org.libelektra.ReadableKey}}
\doxysubsubsection{\texorpdfstring{getBoolean()}{getBoolean()}}
{\footnotesize\ttfamily boolean org.\+libelektra.\+Readable\+Key.\+get\+Boolean (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_ab4fea32b02cd41014b72f76e8d311a11}{get\+String()}} interpreted as boolean value 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Key\+String\+Value\+Exception} &amp; if the underlying native key is not of type string \\
\hline
{\em Illegal\+State\+Exception} &amp; if this \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} has already been released \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1ReadableKey_ab27a5c731c55e2b7f57cf61866a2b9f4}\label{classorg_1_1libelektra_1_1ReadableKey_ab27a5c731c55e2b7f57cf61866a2b9f4}} 
\index{org.libelektra.ReadableKey@{org.libelektra.ReadableKey}!getByte@{getByte}}
\index{getByte@{getByte}!org.libelektra.ReadableKey@{org.libelektra.ReadableKey}}
\doxysubsubsection{\texorpdfstring{getByte()}{getByte()}}
{\footnotesize\ttfamily byte org.\+libelektra.\+Readable\+Key.\+get\+Byte (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_ab4fea32b02cd41014b72f76e8d311a11}{get\+String()}} parsed as
\begin{DoxyCode}{0}
\DoxyCodeLine{\textcolor{keywordtype}{byte} }

\end{DoxyCode}
 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Number\+Format\+Exception} &amp; if the \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_ab4fea32b02cd41014b72f76e8d311a11}{get\+String()}} does not return a parsable
\begin{DoxyCode}{1}
\DoxyCodeLine{\textcolor{keywordtype}{byte} }

\end{DoxyCode}
 \\
\hline
{\em Key\+String\+Value\+Exception} &amp; if the underlying native key is not of type string \\
\hline
{\em Illegal\+State\+Exception} &amp; if this \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} has already been released \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1ReadableKey_ae91c76573983d323b5ad989fad568c3c}\label{classorg_1_1libelektra_1_1ReadableKey_ae91c76573983d323b5ad989fad568c3c}} 
\index{org.libelektra.ReadableKey@{org.libelektra.ReadableKey}!getDouble@{getDouble}}
\index{getDouble@{getDouble}!org.libelektra.ReadableKey@{org.libelektra.ReadableKey}}
\doxysubsubsection{\texorpdfstring{getDouble()}{getDouble()}}
{\footnotesize\ttfamily double org.\+libelektra.\+Readable\+Key.\+get\+Double (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_ab4fea32b02cd41014b72f76e8d311a11}{get\+String()}} parsed as
\begin{DoxyCode}{0}
\DoxyCodeLine{\textcolor{keywordtype}{double} }

\end{DoxyCode}
 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Number\+Format\+Exception} &amp; if the \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_ab4fea32b02cd41014b72f76e8d311a11}{get\+String()}} does not return a parsable
\begin{DoxyCode}{1}
\DoxyCodeLine{\textcolor{keywordtype}{double} }

\end{DoxyCode}
 \\
\hline
{\em Key\+String\+Value\+Exception} &amp; if the underlying native key is not of type string \\
\hline
{\em Illegal\+State\+Exception} &amp; if this \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} has already been released \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1ReadableKey_a5f8b88c3505e51ed872d3f70bee34830}\label{classorg_1_1libelektra_1_1ReadableKey_a5f8b88c3505e51ed872d3f70bee34830}} 
\index{org.libelektra.ReadableKey@{org.libelektra.ReadableKey}!getFloat@{getFloat}}
\index{getFloat@{getFloat}!org.libelektra.ReadableKey@{org.libelektra.ReadableKey}}
\doxysubsubsection{\texorpdfstring{getFloat()}{getFloat()}}
{\footnotesize\ttfamily float org.\+libelektra.\+Readable\+Key.\+get\+Float (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_ab4fea32b02cd41014b72f76e8d311a11}{get\+String()}} parsed as
\begin{DoxyCode}{0}
\DoxyCodeLine{\textcolor{keywordtype}{float} }

\end{DoxyCode}
 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Number\+Format\+Exception} &amp; if the \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_ab4fea32b02cd41014b72f76e8d311a11}{get\+String()}} does not return a parsable
\begin{DoxyCode}{1}
\DoxyCodeLine{\textcolor{keywordtype}{float} }

\end{DoxyCode}
 \\
\hline
{\em Key\+String\+Value\+Exception} &amp; if the underlying native key is not of type string \\
\hline
{\em Illegal\+State\+Exception} &amp; if this \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} has already been released \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1ReadableKey_a1756c33b217de9693c95527a7b3d444e}\label{classorg_1_1libelektra_1_1ReadableKey_a1756c33b217de9693c95527a7b3d444e}} 
\index{org.libelektra.ReadableKey@{org.libelektra.ReadableKey}!getInt@{getInt}}
\index{getInt@{getInt}!org.libelektra.ReadableKey@{org.libelektra.ReadableKey}}
\doxysubsubsection{\texorpdfstring{getInt()}{getInt()}}
{\footnotesize\ttfamily int org.\+libelektra.\+Readable\+Key.\+get\+Int (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_ab4fea32b02cd41014b72f76e8d311a11}{get\+String()}} parsed as integer 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Number\+Format\+Exception} &amp; if the \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_ab4fea32b02cd41014b72f76e8d311a11}{get\+String()}} does not return a parsable integer \\
\hline
{\em Key\+String\+Value\+Exception} &amp; if the underlying native key is not of type string \\
\hline
{\em Illegal\+State\+Exception} &amp; if this \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} has already been released \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1ReadableKey_aab9019b73a1f9369f6425912e8489ca5}\label{classorg_1_1libelektra_1_1ReadableKey_aab9019b73a1f9369f6425912e8489ca5}} 
\index{org.libelektra.ReadableKey@{org.libelektra.ReadableKey}!getLong@{getLong}}
\index{getLong@{getLong}!org.libelektra.ReadableKey@{org.libelektra.ReadableKey}}
\doxysubsubsection{\texorpdfstring{getLong()}{getLong()}}
{\footnotesize\ttfamily long org.\+libelektra.\+Readable\+Key.\+get\+Long (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_ab4fea32b02cd41014b72f76e8d311a11}{get\+String()}} parsed as
\begin{DoxyCode}{0}
\DoxyCodeLine{\textcolor{keywordtype}{long} }

\end{DoxyCode}
 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Number\+Format\+Exception} &amp; if the \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_ab4fea32b02cd41014b72f76e8d311a11}{get\+String()}} does not return a parsable
\begin{DoxyCode}{1}
\DoxyCodeLine{\textcolor{keywordtype}{long} }

\end{DoxyCode}
 \\
\hline
{\em Key\+String\+Value\+Exception} &amp; if the underlying native key is not of type string \\
\hline
{\em Illegal\+State\+Exception} &amp; if this \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} has already been released \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1ReadableKey_ad9c4c376152d7056c0946637db6084d6}\label{classorg_1_1libelektra_1_1ReadableKey_ad9c4c376152d7056c0946637db6084d6}} 
\index{org.libelektra.ReadableKey@{org.libelektra.ReadableKey}!getName@{getName}}
\index{getName@{getName}!org.libelektra.ReadableKey@{org.libelektra.ReadableKey}}
\doxysubsubsection{\texorpdfstring{getName()}{getName()}}
{\footnotesize\ttfamily String org.\+libelektra.\+Readable\+Key.\+get\+Name (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} name (key part of \char`\"{}key-\/value\char`\"{} pair) 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} &amp; if this \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} has already been released \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1ReadableKey_a2c1492751af01b8275f4f8ce5d40077b}\label{classorg_1_1libelektra_1_1ReadableKey_a2c1492751af01b8275f4f8ce5d40077b}} 
\index{org.libelektra.ReadableKey@{org.libelektra.ReadableKey}!getNameSize@{getNameSize}}
\index{getNameSize@{getNameSize}!org.libelektra.ReadableKey@{org.libelektra.ReadableKey}}
\doxysubsubsection{\texorpdfstring{getNameSize()}{getNameSize()}}
{\footnotesize\ttfamily int org.\+libelektra.\+Readable\+Key.\+get\+Name\+Size (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\begin{DoxyReturn}{Returns}
Length of key name 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} &amp; if this \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} has already been released \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1ReadableKey_a1fb9377ece718f0f1d038e956ce3b7a0}\label{classorg_1_1libelektra_1_1ReadableKey_a1fb9377ece718f0f1d038e956ce3b7a0}} 
\index{org.libelektra.ReadableKey@{org.libelektra.ReadableKey}!getPointer@{getPointer}}
\index{getPointer@{getPointer}!org.libelektra.ReadableKey@{org.libelektra.ReadableKey}}
\doxysubsubsection{\texorpdfstring{getPointer()}{getPointer()}}
{\footnotesize\ttfamily Pointer org.\+libelektra.\+Readable\+Key.\+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 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} &amp; if this \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} has already been released \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1ReadableKey_a7f21e632a9f1116a4626e54d9f828358}\label{classorg_1_1libelektra_1_1ReadableKey_a7f21e632a9f1116a4626e54d9f828358}} 
\index{org.libelektra.ReadableKey@{org.libelektra.ReadableKey}!getShort@{getShort}}
\index{getShort@{getShort}!org.libelektra.ReadableKey@{org.libelektra.ReadableKey}}
\doxysubsubsection{\texorpdfstring{getShort()}{getShort()}}
{\footnotesize\ttfamily short org.\+libelektra.\+Readable\+Key.\+get\+Short (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_ab4fea32b02cd41014b72f76e8d311a11}{get\+String()}} parsed as
\begin{DoxyCode}{0}
\DoxyCodeLine{\textcolor{keywordtype}{short} }

\end{DoxyCode}
 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Number\+Format\+Exception} &amp; if the \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_ab4fea32b02cd41014b72f76e8d311a11}{get\+String()}} does not return a parsable
\begin{DoxyCode}{1}
\DoxyCodeLine{\textcolor{keywordtype}{short} }

\end{DoxyCode}
 \\
\hline
{\em Key\+String\+Value\+Exception} &amp; if the underlying native key is not of type string \\
\hline
{\em Illegal\+State\+Exception} &amp; if this \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} has already been released \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1ReadableKey_ab4fea32b02cd41014b72f76e8d311a11}\label{classorg_1_1libelektra_1_1ReadableKey_ab4fea32b02cd41014b72f76e8d311a11}} 
\index{org.libelektra.ReadableKey@{org.libelektra.ReadableKey}!getString@{getString}}
\index{getString@{getString}!org.libelektra.ReadableKey@{org.libelektra.ReadableKey}}
\doxysubsubsection{\texorpdfstring{getString()}{getString()}}
{\footnotesize\ttfamily String org.\+libelektra.\+Readable\+Key.\+get\+String (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\begin{DoxyReturn}{Returns}
This key\textquotesingle{}s value as string 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Key\+String\+Value\+Exception} &amp; if the underlying native key is not of type string \\
\hline
{\em Illegal\+State\+Exception} &amp; if this \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} has already been released \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1ReadableKey_a87d618e2598ad2d760f04c4aa02897bb}\label{classorg_1_1libelektra_1_1ReadableKey_a87d618e2598ad2d760f04c4aa02897bb}} 
\index{org.libelektra.ReadableKey@{org.libelektra.ReadableKey}!getValueSize@{getValueSize}}
\index{getValueSize@{getValueSize}!org.libelektra.ReadableKey@{org.libelektra.ReadableKey}}
\doxysubsubsection{\texorpdfstring{getValueSize()}{getValueSize()}}
{\footnotesize\ttfamily int org.\+libelektra.\+Readable\+Key.\+get\+Value\+Size (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\begin{DoxyReturn}{Returns}
Length / size of key value in bytes 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} &amp; if this \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} has already been released \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1ReadableKey_a364c07c0e2705c5dc448f4cc20b04b19}\label{classorg_1_1libelektra_1_1ReadableKey_a364c07c0e2705c5dc448f4cc20b04b19}} 
\index{org.libelektra.ReadableKey@{org.libelektra.ReadableKey}!isBelow@{isBelow}}
\index{isBelow@{isBelow}!org.libelektra.ReadableKey@{org.libelektra.ReadableKey}}
\doxysubsubsection{\texorpdfstring{isBelow()}{isBelow()}}
{\footnotesize\ttfamily boolean org.\+libelektra.\+Readable\+Key.\+is\+Below (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}}}]{other }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Checks whether this key is sub-\/key of the. 


\begin{DoxyCode}{0}
\DoxyCodeLine{other }

\end{DoxyCode}
 key


\begin{DoxyParams}{Parameters}
{\em other} &amp; \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} that is used in check as parent key \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Boolean if this key is (non-\/direct) sub-\/key of other-\/key 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} &amp; if this or the
\begin{DoxyCode}{1}
\DoxyCodeLine{other }

\end{DoxyCode}
 \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} has already been released \\
\hline
{\em Illegal\+Argument\+Exception} &amp; if
\begin{DoxyCode}{1}
\DoxyCodeLine{other }

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

\end{DoxyCode}
 \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1ReadableKey_a2b6341dc92c8928250516b45edb91134}\label{classorg_1_1libelektra_1_1ReadableKey_a2b6341dc92c8928250516b45edb91134}} 
\index{org.libelektra.ReadableKey@{org.libelektra.ReadableKey}!isBelowOrSame@{isBelowOrSame}}
\index{isBelowOrSame@{isBelowOrSame}!org.libelektra.ReadableKey@{org.libelektra.ReadableKey}}
\doxysubsubsection{\texorpdfstring{isBelowOrSame()}{isBelowOrSame()}}
{\footnotesize\ttfamily boolean org.\+libelektra.\+Readable\+Key.\+is\+Below\+Or\+Same (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}}}]{other }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Checks whether this key is the same as the. 


\begin{DoxyCode}{0}
\DoxyCodeLine{other }

\end{DoxyCode}
 key or a sub-\/key of the
\begin{DoxyCode}{0}
\DoxyCodeLine{other }

\end{DoxyCode}
 key


\begin{DoxyParams}{Parameters}
{\em other} &amp; \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} that is used in check as parent key \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Boolean if this key is other key or (non-\/direct) sub-\/key of other-\/key 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} &amp; if this or the
\begin{DoxyCode}{1}
\DoxyCodeLine{other }

\end{DoxyCode}
 \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} has already been released \\
\hline
{\em Illegal\+Argument\+Exception} &amp; if
\begin{DoxyCode}{1}
\DoxyCodeLine{other }

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

\end{DoxyCode}
 \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1ReadableKey_addd0298940a3db31200777bf317e9a85}\label{classorg_1_1libelektra_1_1ReadableKey_addd0298940a3db31200777bf317e9a85}} 
\index{org.libelektra.ReadableKey@{org.libelektra.ReadableKey}!isBinary@{isBinary}}
\index{isBinary@{isBinary}!org.libelektra.ReadableKey@{org.libelektra.ReadableKey}}
\doxysubsubsection{\texorpdfstring{isBinary()}{isBinary()}}
{\footnotesize\ttfamily boolean org.\+libelektra.\+Readable\+Key.\+is\+Binary (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\begin{DoxyReturn}{Returns}
True if the underlying native key\textquotesingle{}s value is of type binary, false otherwise 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} &amp; if this \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} has already been released \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1ReadableKey_a8d807d1a96823d7080eb89e1bcbac625}\label{classorg_1_1libelektra_1_1ReadableKey_a8d807d1a96823d7080eb89e1bcbac625}} 
\index{org.libelektra.ReadableKey@{org.libelektra.ReadableKey}!isDirectlyBelow@{isDirectlyBelow}}
\index{isDirectlyBelow@{isDirectlyBelow}!org.libelektra.ReadableKey@{org.libelektra.ReadableKey}}
\doxysubsubsection{\texorpdfstring{isDirectlyBelow()}{isDirectlyBelow()}}
{\footnotesize\ttfamily boolean org.\+libelektra.\+Readable\+Key.\+is\+Directly\+Below (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}}}]{other }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Checks whether this key is direct sub-\/key of the. 


\begin{DoxyCode}{0}
\DoxyCodeLine{other }

\end{DoxyCode}
 key


\begin{DoxyParams}{Parameters}
{\em other} &amp; \mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} that is used in check as parent key \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Boolean if this key is direct sub-\/key of other key (\char`\"{}child\char`\"{}) 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} &amp; if this or the
\begin{DoxyCode}{1}
\DoxyCodeLine{other }

\end{DoxyCode}
 \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} has already been released \\
\hline
{\em Illegal\+Argument\+Exception} &amp; if
\begin{DoxyCode}{1}
\DoxyCodeLine{other }

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

\end{DoxyCode}
 \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1ReadableKey_a20f9afda812270b7733fe1c7bdd8733e}\label{classorg_1_1libelektra_1_1ReadableKey_a20f9afda812270b7733fe1c7bdd8733e}} 
\index{org.libelektra.ReadableKey@{org.libelektra.ReadableKey}!isString@{isString}}
\index{isString@{isString}!org.libelektra.ReadableKey@{org.libelektra.ReadableKey}}
\doxysubsubsection{\texorpdfstring{isString()}{isString()}}
{\footnotesize\ttfamily boolean org.\+libelektra.\+Readable\+Key.\+is\+String (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\begin{DoxyReturn}{Returns}
True if the underlying native key\textquotesingle{}s value is a valid string, false otherwise 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} &amp; if this \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} has already been released \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1ReadableKey_a73dff9d4bc9deda641b9514c7a5f871e}\label{classorg_1_1libelektra_1_1ReadableKey_a73dff9d4bc9deda641b9514c7a5f871e}} 
\index{org.libelektra.ReadableKey@{org.libelektra.ReadableKey}!keyNameIterator@{keyNameIterator}}
\index{keyNameIterator@{keyNameIterator}!org.libelektra.ReadableKey@{org.libelektra.ReadableKey}}
\doxysubsubsection{\texorpdfstring{keyNameIterator()}{keyNameIterator()}}
{\footnotesize\ttfamily Iterator$&lt;$String$&gt;$ org.\+libelektra.\+Readable\+Key.\+key\+Name\+Iterator (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\begin{DoxyReturn}{Returns}
New \mbox{\hyperlink{}{Key\+Name\+Iterator}} backed by this \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em Illegal\+State\+Exception} &amp; if this \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} has already been released \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1ReadableKey_a273b1124e62df00ba5ecb113321857bb}\label{classorg_1_1libelektra_1_1ReadableKey_a273b1124e62df00ba5ecb113321857bb}} 
\index{org.libelektra.ReadableKey@{org.libelektra.ReadableKey}!release@{release}}
\index{release@{release}!org.libelektra.ReadableKey@{org.libelektra.ReadableKey}}
\doxysubsubsection{\texorpdfstring{release()}{release()}}
{\footnotesize\ttfamily void org.\+libelektra.\+Readable\+Key.\+release (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [protected]}}



Clean-\/up method to release key reference by first decrementing its reference counter and then trying to free the native reference~\newline
 ~\newline
 Call this method if you do not longer need a \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}} and obtained it via any of its public methods or the public methods of \mbox{\hyperlink{classorg_1_1libelektra_1_1KeySet}{Key\+Set}}. 

If you do not manually release such \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{keys}}, they will get cleaned up by garbage collection as soon as they get phantom reachable. Therefore its encouraged to release \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{key instances}} as soon as you do not use them anymore.

\mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey}{Readable\+Key}}s should not be manually released. 

Reimplemented in \mbox{\hyperlink{classorg_1_1libelektra_1_1Key_a8e93661372c9a6d5d23a056265a6f5a5}{org.\+libelektra.\+Key}}.

\mbox{\Hypertarget{classorg_1_1libelektra_1_1ReadableKey_a60f14adf037c101ce0e1a549ed85d949}\label{classorg_1_1libelektra_1_1ReadableKey_a60f14adf037c101ce0e1a549ed85d949}} 
\index{org.libelektra.ReadableKey@{org.libelektra.ReadableKey}!toString@{toString}}
\index{toString@{toString}!org.libelektra.ReadableKey@{org.libelektra.ReadableKey}}
\doxysubsubsection{\texorpdfstring{toString()}{toString()}}
{\footnotesize\ttfamily String org.\+libelektra.\+Readable\+Key.\+to\+String (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{classorg_1_1libelektra_1_1Key}{Key}} name in string format as returned by \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_ad9c4c376152d7056c0946637db6084d6}{get\+Name()}} 
\end{DoxyReturn}


\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{classorg_1_1libelektra_1_1ReadableKey_ae36369276b806cc9015e84f39d9c06c0}\label{classorg_1_1libelektra_1_1ReadableKey_ae36369276b806cc9015e84f39d9c06c0}} 
\index{org.libelektra.ReadableKey@{org.libelektra.ReadableKey}!KEY\_CP\_STRING@{KEY\_CP\_STRING}}
\index{KEY\_CP\_STRING@{KEY\_CP\_STRING}!org.libelektra.ReadableKey@{org.libelektra.ReadableKey}}
\doxysubsubsection{\texorpdfstring{KEY\_CP\_STRING}{KEY\_CP\_STRING}}
{\footnotesize\ttfamily final int org.\+libelektra.\+Readable\+Key.\+KEY\+\_\+\+CP\+\_\+\+STRING = 1 $&lt;$$&lt;$ 1\hspace{0.3cm}{\ttfamily [static]}}



Flag for use with \mbox{\hyperlink{classorg_1_1libelektra_1_1Key_a20bd24e5623954f644682968b6ec6c7c}{Key\#copy(\+Key, int)}} and \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_af18736fab2f3e30928055d8560b83e40}{dup(int)}} for copying the key value, if it is a string. 

@api\+Note Do not use together with \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_a464fdbb9e7d2fc4d705627830e2651cb}{KEY\+\_\+\+CP\+\_\+\+VALUE}} \mbox{\Hypertarget{classorg_1_1libelektra_1_1ReadableKey_a464fdbb9e7d2fc4d705627830e2651cb}\label{classorg_1_1libelektra_1_1ReadableKey_a464fdbb9e7d2fc4d705627830e2651cb}} 
\index{org.libelektra.ReadableKey@{org.libelektra.ReadableKey}!KEY\_CP\_VALUE@{KEY\_CP\_VALUE}}
\index{KEY\_CP\_VALUE@{KEY\_CP\_VALUE}!org.libelektra.ReadableKey@{org.libelektra.ReadableKey}}
\doxysubsubsection{\texorpdfstring{KEY\_CP\_VALUE}{KEY\_CP\_VALUE}}
{\footnotesize\ttfamily final int org.\+libelektra.\+Readable\+Key.\+KEY\+\_\+\+CP\+\_\+\+VALUE = 1 $&lt;$$&lt;$ 2\hspace{0.3cm}{\ttfamily [static]}}



Flag for use with \mbox{\hyperlink{classorg_1_1libelektra_1_1Key_a20bd24e5623954f644682968b6ec6c7c}{Key\#copy(\+Key, int)}} and \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_af18736fab2f3e30928055d8560b83e40}{dup(int)}} for copying the key value. 

@api\+Note Do not use together with \mbox{\hyperlink{classorg_1_1libelektra_1_1ReadableKey_ae36369276b806cc9015e84f39d9c06c0}{KEY\+\_\+\+CP\+\_\+\+STRING}} 

The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
Readable\+Key.\+java\end{DoxyCompactItemize}
</pre></body></html>