| 1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| 2 |
|
| 3 |
<HTML> |
| 4 |
<HEAD> |
| 5 |
|
| 6 |
<TITLE> |
| 7 |
MapEntryParameter (Oracle - Berkeley DB Java API) |
| 8 |
</TITLE> |
| 9 |
|
| 10 |
<META NAME="date" CONTENT="2013-09-09"> |
| 11 |
|
| 12 |
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../style.css" TITLE="Style"> |
| 13 |
|
| 14 |
<SCRIPT type="text/javascript"> |
| 15 |
function windowTitle() |
| 16 |
{ |
| 17 |
if (location.href.indexOf('is-external=true') == -1) { |
| 18 |
parent.document.title="MapEntryParameter (Oracle - Berkeley DB Java API)"; |
| 19 |
} |
| 20 |
} |
| 21 |
</SCRIPT> |
| 22 |
<NOSCRIPT> |
| 23 |
</NOSCRIPT> |
| 24 |
|
| 25 |
</HEAD> |
| 26 |
|
| 27 |
<BODY BGCOLOR="white" onload="windowTitle();"> |
| 28 |
<HR> |
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
<A NAME="navbar_top"></A> |
| 33 |
<A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
| 34 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| 35 |
<TR> |
| 36 |
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| 37 |
<A NAME="navbar_top_firstrow"></A> |
| 38 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| 39 |
<TR ALIGN="center" VALIGN="top"> |
| 40 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| 41 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| 42 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| 43 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MapEntryParameter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| 44 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| 45 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| 46 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| 47 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| 48 |
</TR> |
| 49 |
</TABLE> |
| 50 |
</TD> |
| 51 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| 52 |
<b>Berkeley DB</b><br><font size="-1"> version 5.3.28</font></EM> |
| 53 |
</TD> |
| 54 |
</TR> |
| 55 |
|
| 56 |
<TR> |
| 57 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 58 |
<A HREF="../../../com/sleepycat/collections/CurrentTransaction.html" title="class in com.sleepycat.collections"><B>PREV CLASS</B></A> |
| 59 |
<A HREF="../../../com/sleepycat/collections/PrimaryKeyAssigner.html" title="interface in com.sleepycat.collections"><B>NEXT CLASS</B></A></FONT></TD> |
| 60 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 61 |
<A HREF="../../../index.html?com/sleepycat/collections/MapEntryParameter.html" target="_top"><B>FRAMES</B></A> |
| 62 |
<A HREF="MapEntryParameter.html" target="_top"><B>NO FRAMES</B></A> |
| 63 |
<SCRIPT type="text/javascript"> |
| 64 |
<!-- |
| 65 |
if(window==top) { |
| 66 |
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| 67 |
} |
| 68 |
//--> |
| 69 |
</SCRIPT> |
| 70 |
<NOSCRIPT> |
| 71 |
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> |
| 72 |
</NOSCRIPT> |
| 73 |
|
| 74 |
|
| 75 |
</FONT></TD> |
| 76 |
</TR> |
| 77 |
<TR> |
| 78 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 79 |
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| 80 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 81 |
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| 82 |
</TR> |
| 83 |
</TABLE> |
| 84 |
<A NAME="skip-navbar_top"></A> |
| 85 |
|
| 86 |
|
| 87 |
<HR> |
| 88 |
|
| 89 |
<H2> |
| 90 |
<FONT SIZE="-1"> |
| 91 |
com.sleepycat.collections</FONT> |
| 92 |
<BR> |
| 93 |
Class MapEntryParameter<K,V></H2> |
| 94 |
<PRE> |
| 95 |
<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> |
| 96 |
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.sleepycat.collections.MapEntryParameter<K,V></B> |
| 97 |
</PRE> |
| 98 |
<DL> |
| 99 |
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</A><K,V></DD> |
| 100 |
</DL> |
| 101 |
<HR> |
| 102 |
<DL> |
| 103 |
<DT><PRE>public class <B>MapEntryParameter<K,V></B><DT>extends <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</A><K,V></DL> |
| 104 |
</PRE> |
| 105 |
|
| 106 |
<P> |
| 107 |
A simple <code>Map.Entry</code> implementation that can be used as in |
| 108 |
input parameter. Since a <code>MapEntryParameter</code> is not obtained |
| 109 |
from a map, it is not attached to any map in particular. To emphasize that |
| 110 |
changing this object does not change the map, the <A HREF="../../../com/sleepycat/collections/MapEntryParameter.html#setValue(V)"><CODE>setValue(V)</CODE></A> method |
| 111 |
always throws <code>UnsupportedOperationException</code>. |
| 112 |
|
| 113 |
<p><b>Warning:</b> Use of this interface violates the Java Collections |
| 114 |
interface contract since these state that <code>Map.Entry</code> objects |
| 115 |
should only be obtained from <code>Map.entrySet()</code> sets, while this |
| 116 |
class allows constructing them directly. However, it is useful for |
| 117 |
performing operations on an entry set such as add(), contains(), etc. For |
| 118 |
restrictions see <A HREF="../../../com/sleepycat/collections/MapEntryParameter.html#getValue()"><CODE>getValue()</CODE></A> and <A HREF="../../../com/sleepycat/collections/MapEntryParameter.html#setValue(V)"><CODE>setValue(V)</CODE></A>.</p> |
| 119 |
<P> |
| 120 |
|
| 121 |
<P> |
| 122 |
<HR> |
| 123 |
|
| 124 |
<P> |
| 125 |
|
| 126 |
|
| 127 |
|
| 128 |
<A NAME="constructor_summary"></A> |
| 129 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 130 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 131 |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| 132 |
<B>Constructor Summary</B></FONT></TH> |
| 133 |
</TR> |
| 134 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 135 |
<TD><CODE><B><A HREF="../../../com/sleepycat/collections/MapEntryParameter.html#MapEntryParameter(K, V)">MapEntryParameter</A></B>(<A HREF="../../../com/sleepycat/collections/MapEntryParameter.html" title="type parameter in MapEntryParameter">K</A> key, |
| 136 |
<A HREF="../../../com/sleepycat/collections/MapEntryParameter.html" title="type parameter in MapEntryParameter">V</A> value)</CODE> |
| 137 |
|
| 138 |
<BR> |
| 139 |
Creates a map entry with a given key and value.</TD> |
| 140 |
</TR> |
| 141 |
</TABLE> |
| 142 |
|
| 143 |
|
| 144 |
|
| 145 |
<A NAME="method_summary"></A> |
| 146 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 147 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 148 |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| 149 |
<B>Method Summary</B></FONT></TH> |
| 150 |
</TR> |
| 151 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 152 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 153 |
<CODE> boolean</CODE></FONT></TD> |
| 154 |
<TD><CODE><B><A HREF="../../../com/sleepycat/collections/MapEntryParameter.html#equals(java.lang.Object)">equals</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> other)</CODE> |
| 155 |
|
| 156 |
<BR> |
| 157 |
Compares this entry to a given entry as specified by <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.Entry.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.util"><CODE>Map.Entry.equals(java.lang.Object)</CODE></A>.</TD> |
| 158 |
</TR> |
| 159 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 160 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 161 |
<CODE> <A HREF="../../../com/sleepycat/collections/MapEntryParameter.html" title="type parameter in MapEntryParameter">K</A></CODE></FONT></TD> |
| 162 |
<TD><CODE><B><A HREF="../../../com/sleepycat/collections/MapEntryParameter.html#getKey()">getKey</A></B>()</CODE> |
| 163 |
|
| 164 |
<BR> |
| 165 |
Returns the key of this entry.</TD> |
| 166 |
</TR> |
| 167 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 168 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 169 |
<CODE> <A HREF="../../../com/sleepycat/collections/MapEntryParameter.html" title="type parameter in MapEntryParameter">V</A></CODE></FONT></TD> |
| 170 |
<TD><CODE><B><A HREF="../../../com/sleepycat/collections/MapEntryParameter.html#getValue()">getValue</A></B>()</CODE> |
| 171 |
|
| 172 |
<BR> |
| 173 |
Returns the value of this entry.</TD> |
| 174 |
</TR> |
| 175 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 176 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 177 |
<CODE> int</CODE></FONT></TD> |
| 178 |
<TD><CODE><B><A HREF="../../../com/sleepycat/collections/MapEntryParameter.html#hashCode()">hashCode</A></B>()</CODE> |
| 179 |
|
| 180 |
<BR> |
| 181 |
Computes a hash code as specified by <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.Entry.html?is-external=true#hashCode()" title="class or interface in java.util"><CODE>Map.Entry.hashCode()</CODE></A>.</TD> |
| 182 |
</TR> |
| 183 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 184 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 185 |
<CODE> <A HREF="../../../com/sleepycat/collections/MapEntryParameter.html" title="type parameter in MapEntryParameter">V</A></CODE></FONT></TD> |
| 186 |
<TD><CODE><B><A HREF="../../../com/sleepycat/collections/MapEntryParameter.html#setValue(V)">setValue</A></B>(<A HREF="../../../com/sleepycat/collections/MapEntryParameter.html" title="type parameter in MapEntryParameter">V</A> newValue)</CODE> |
| 187 |
|
| 188 |
<BR> |
| 189 |
Always throws <code>UnsupportedOperationException</code> since this |
| 190 |
object is not attached to a map.</TD> |
| 191 |
</TR> |
| 192 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 193 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 194 |
<CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| 195 |
<TD><CODE><B><A HREF="../../../com/sleepycat/collections/MapEntryParameter.html#toString()">toString</A></B>()</CODE> |
| 196 |
|
| 197 |
<BR> |
| 198 |
Converts the entry to a string representation for debugging.</TD> |
| 199 |
</TR> |
| 200 |
</TABLE> |
| 201 |
<A NAME="methods_inherited_from_class_java.lang.Object"></A> |
| 202 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 203 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| 204 |
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> |
| 205 |
</TR> |
| 206 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 207 |
<TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> |
| 208 |
</TR> |
| 209 |
</TABLE> |
| 210 |
|
| 211 |
<P> |
| 212 |
|
| 213 |
|
| 214 |
|
| 215 |
<A NAME="constructor_detail"></A> |
| 216 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 217 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 218 |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| 219 |
<B>Constructor Detail</B></FONT></TH> |
| 220 |
</TR> |
| 221 |
</TABLE> |
| 222 |
|
| 223 |
<A NAME="MapEntryParameter(java.lang.Object,java.lang.Object)"></A><A NAME="MapEntryParameter(K, V)"></A><H3> |
| 224 |
MapEntryParameter</H3> |
| 225 |
<PRE> |
| 226 |
public <B>MapEntryParameter</B>(<A HREF="../../../com/sleepycat/collections/MapEntryParameter.html" title="type parameter in MapEntryParameter">K</A> key, |
| 227 |
<A HREF="../../../com/sleepycat/collections/MapEntryParameter.html" title="type parameter in MapEntryParameter">V</A> value)</PRE> |
| 228 |
<DL> |
| 229 |
<DD>Creates a map entry with a given key and value. |
| 230 |
<P> |
| 231 |
<DL> |
| 232 |
<DT><B>Parameters:</B><DD><CODE>key</CODE> - is the key to use.<DD><CODE>value</CODE> - is the value to use.</DL> |
| 233 |
</DL> |
| 234 |
|
| 235 |
|
| 236 |
|
| 237 |
<A NAME="method_detail"></A> |
| 238 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 239 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 240 |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| 241 |
<B>Method Detail</B></FONT></TH> |
| 242 |
</TR> |
| 243 |
</TABLE> |
| 244 |
|
| 245 |
<A NAME="hashCode()"></A><H3> |
| 246 |
hashCode</H3> |
| 247 |
<PRE> |
| 248 |
public int <B>hashCode</B>()</PRE> |
| 249 |
<DL> |
| 250 |
<DD>Computes a hash code as specified by <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.Entry.html?is-external=true#hashCode()" title="class or interface in java.util"><CODE>Map.Entry.hashCode()</CODE></A>. |
| 251 |
<P> |
| 252 |
<DD><DL> |
| 253 |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.Entry.html?is-external=true#hashCode()" title="class or interface in java.util">hashCode</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</A><<A HREF="../../../com/sleepycat/collections/MapEntryParameter.html" title="type parameter in MapEntryParameter">K</A>,<A HREF="../../../com/sleepycat/collections/MapEntryParameter.html" title="type parameter in MapEntryParameter">V</A>></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL> |
| 254 |
</DD> |
| 255 |
<DD><DL> |
| 256 |
|
| 257 |
<DT><B>Returns:</B><DD>the computed hash code.</DL> |
| 258 |
</DD> |
| 259 |
</DL> |
| 260 |
<HR> |
| 261 |
|
| 262 |
<A NAME="equals(java.lang.Object)"></A><H3> |
| 263 |
equals</H3> |
| 264 |
<PRE> |
| 265 |
public boolean <B>equals</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> other)</PRE> |
| 266 |
<DL> |
| 267 |
<DD>Compares this entry to a given entry as specified by <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.Entry.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.util"><CODE>Map.Entry.equals(java.lang.Object)</CODE></A>. |
| 268 |
<P> |
| 269 |
<DD><DL> |
| 270 |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.Entry.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.util">equals</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</A><<A HREF="../../../com/sleepycat/collections/MapEntryParameter.html" title="type parameter in MapEntryParameter">K</A>,<A HREF="../../../com/sleepycat/collections/MapEntryParameter.html" title="type parameter in MapEntryParameter">V</A>></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL> |
| 271 |
</DD> |
| 272 |
<DD><DL> |
| 273 |
|
| 274 |
<DT><B>Returns:</B><DD>the computed hash code.</DL> |
| 275 |
</DD> |
| 276 |
</DL> |
| 277 |
<HR> |
| 278 |
|
| 279 |
<A NAME="getKey()"></A><H3> |
| 280 |
getKey</H3> |
| 281 |
<PRE> |
| 282 |
public final <A HREF="../../../com/sleepycat/collections/MapEntryParameter.html" title="type parameter in MapEntryParameter">K</A> <B>getKey</B>()</PRE> |
| 283 |
<DL> |
| 284 |
<DD>Returns the key of this entry. |
| 285 |
<P> |
| 286 |
<DD><DL> |
| 287 |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.Entry.html?is-external=true#getKey()" title="class or interface in java.util">getKey</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</A><<A HREF="../../../com/sleepycat/collections/MapEntryParameter.html" title="type parameter in MapEntryParameter">K</A>,<A HREF="../../../com/sleepycat/collections/MapEntryParameter.html" title="type parameter in MapEntryParameter">V</A>></CODE></DL> |
| 288 |
</DD> |
| 289 |
<DD><DL> |
| 290 |
|
| 291 |
<DT><B>Returns:</B><DD>the key of this entry.</DL> |
| 292 |
</DD> |
| 293 |
</DL> |
| 294 |
<HR> |
| 295 |
|
| 296 |
<A NAME="getValue()"></A><H3> |
| 297 |
getValue</H3> |
| 298 |
<PRE> |
| 299 |
public final <A HREF="../../../com/sleepycat/collections/MapEntryParameter.html" title="type parameter in MapEntryParameter">V</A> <B>getValue</B>()</PRE> |
| 300 |
<DL> |
| 301 |
<DD>Returns the value of this entry. Note that this will be the value |
| 302 |
passed to the constructor or the last value passed to <A HREF="../../../com/sleepycat/collections/MapEntryParameter.html#setValue(V)"><CODE>setValue(V)</CODE></A>. |
| 303 |
It will not reflect changes made to a Map. |
| 304 |
<P> |
| 305 |
<DD><DL> |
| 306 |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.Entry.html?is-external=true#getValue()" title="class or interface in java.util">getValue</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</A><<A HREF="../../../com/sleepycat/collections/MapEntryParameter.html" title="type parameter in MapEntryParameter">K</A>,<A HREF="../../../com/sleepycat/collections/MapEntryParameter.html" title="type parameter in MapEntryParameter">V</A>></CODE></DL> |
| 307 |
</DD> |
| 308 |
<DD><DL> |
| 309 |
|
| 310 |
<DT><B>Returns:</B><DD>the value of this entry.</DL> |
| 311 |
</DD> |
| 312 |
</DL> |
| 313 |
<HR> |
| 314 |
|
| 315 |
<A NAME="setValue(java.lang.Object)"></A><A NAME="setValue(V)"></A><H3> |
| 316 |
setValue</H3> |
| 317 |
<PRE> |
| 318 |
public <A HREF="../../../com/sleepycat/collections/MapEntryParameter.html" title="type parameter in MapEntryParameter">V</A> <B>setValue</B>(<A HREF="../../../com/sleepycat/collections/MapEntryParameter.html" title="type parameter in MapEntryParameter">V</A> newValue)</PRE> |
| 319 |
<DL> |
| 320 |
<DD>Always throws <code>UnsupportedOperationException</code> since this |
| 321 |
object is not attached to a map. |
| 322 |
<P> |
| 323 |
<DD><DL> |
| 324 |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.Entry.html?is-external=true#setValue(V)" title="class or interface in java.util">setValue</A></CODE> in interface <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</A><<A HREF="../../../com/sleepycat/collections/MapEntryParameter.html" title="type parameter in MapEntryParameter">K</A>,<A HREF="../../../com/sleepycat/collections/MapEntryParameter.html" title="type parameter in MapEntryParameter">V</A>></CODE></DL> |
| 325 |
</DD> |
| 326 |
<DD><DL> |
| 327 |
</DL> |
| 328 |
</DD> |
| 329 |
</DL> |
| 330 |
<HR> |
| 331 |
|
| 332 |
<A NAME="toString()"></A><H3> |
| 333 |
toString</H3> |
| 334 |
<PRE> |
| 335 |
public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE> |
| 336 |
<DL> |
| 337 |
<DD>Converts the entry to a string representation for debugging. |
| 338 |
<P> |
| 339 |
<DD><DL> |
| 340 |
<DT><B>Overrides:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL> |
| 341 |
</DD> |
| 342 |
<DD><DL> |
| 343 |
|
| 344 |
<DT><B>Returns:</B><DD>the string representation.</DL> |
| 345 |
</DD> |
| 346 |
</DL> |
| 347 |
|
| 348 |
<HR> |
| 349 |
|
| 350 |
|
| 351 |
|
| 352 |
<A NAME="navbar_bottom"></A> |
| 353 |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| 354 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| 355 |
<TR> |
| 356 |
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| 357 |
<A NAME="navbar_bottom_firstrow"></A> |
| 358 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| 359 |
<TR ALIGN="center" VALIGN="top"> |
| 360 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| 361 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| 362 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| 363 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MapEntryParameter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| 364 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| 365 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| 366 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| 367 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| 368 |
</TR> |
| 369 |
</TABLE> |
| 370 |
</TD> |
| 371 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| 372 |
<b>Berkeley DB</b><br><font size="-1"> version 5.3.28</font></EM> |
| 373 |
</TD> |
| 374 |
</TR> |
| 375 |
|
| 376 |
<TR> |
| 377 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 378 |
<A HREF="../../../com/sleepycat/collections/CurrentTransaction.html" title="class in com.sleepycat.collections"><B>PREV CLASS</B></A> |
| 379 |
<A HREF="../../../com/sleepycat/collections/PrimaryKeyAssigner.html" title="interface in com.sleepycat.collections"><B>NEXT CLASS</B></A></FONT></TD> |
| 380 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 381 |
<A HREF="../../../index.html?com/sleepycat/collections/MapEntryParameter.html" target="_top"><B>FRAMES</B></A> |
| 382 |
<A HREF="MapEntryParameter.html" target="_top"><B>NO FRAMES</B></A> |
| 383 |
<SCRIPT type="text/javascript"> |
| 384 |
<!-- |
| 385 |
if(window==top) { |
| 386 |
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| 387 |
} |
| 388 |
//--> |
| 389 |
</SCRIPT> |
| 390 |
<NOSCRIPT> |
| 391 |
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> |
| 392 |
</NOSCRIPT> |
| 393 |
|
| 394 |
|
| 395 |
</FONT></TD> |
| 396 |
</TR> |
| 397 |
<TR> |
| 398 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 399 |
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| 400 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 401 |
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| 402 |
</TR> |
| 403 |
</TABLE> |
| 404 |
<A NAME="skip-navbar_bottom"></A> |
| 405 |
|
| 406 |
|
| 407 |
<HR> |
| 408 |
<font size=1>Copyright (c) 1996, 2013 Oracle and/or its affiliates. All rights reserved.</font> |
| 409 |
</BODY> |
| 410 |
</HTML> |