| 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 |
SortedBigDecimalBinding (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="SortedBigDecimalBinding (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/SortedBigDecimalBinding.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/bind/tuple/ShortBinding.html" title="class in com.sleepycat.bind.tuple"><B>PREV CLASS</B></A> |
| 59 |
<A HREF="../../../../com/sleepycat/bind/tuple/SortedDoubleBinding.html" title="class in com.sleepycat.bind.tuple"><B>NEXT CLASS</B></A></FONT></TD> |
| 60 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 61 |
<A HREF="../../../../index.html?com/sleepycat/bind/tuple/SortedBigDecimalBinding.html" target="_top"><B>FRAMES</B></A> |
| 62 |
<A HREF="SortedBigDecimalBinding.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.bind.tuple</FONT> |
| 92 |
<BR> |
| 93 |
Class SortedBigDecimalBinding</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 "><A HREF="../../../../com/sleepycat/bind/tuple/TupleBase.html" title="class in com.sleepycat.bind.tuple">com.sleepycat.bind.tuple.TupleBase</A><E> |
| 97 |
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/sleepycat/bind/tuple/TupleBinding.html" title="class in com.sleepycat.bind.tuple">com.sleepycat.bind.tuple.TupleBinding</A><<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>> |
| 98 |
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.sleepycat.bind.tuple.SortedBigDecimalBinding</B> |
| 99 |
</PRE> |
| 100 |
<DL> |
| 101 |
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/sleepycat/bind/EntryBinding.html" title="interface in com.sleepycat.bind">EntryBinding</A><<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>></DD> |
| 102 |
</DL> |
| 103 |
<HR> |
| 104 |
<DL> |
| 105 |
<DT><PRE>public class <B>SortedBigDecimalBinding</B><DT>extends <A HREF="../../../../com/sleepycat/bind/tuple/TupleBinding.html" title="class in com.sleepycat.bind.tuple">TupleBinding</A><<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>></DL> |
| 106 |
</PRE> |
| 107 |
|
| 108 |
<P> |
| 109 |
A concrete <code>TupleBinding</code> for a sorted <code>BigDecimal</code> |
| 110 |
value. |
| 111 |
|
| 112 |
<p>There are two ways to use this class:</p> |
| 113 |
<ol> |
| 114 |
<li>When using the <A HREF="../../../../com/sleepycat/db/package-summary.html"><CODE>com.sleepycat.db</CODE></A> package directly, the static |
| 115 |
methods in this class can be used to convert between primitive values and |
| 116 |
<A HREF="../../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db"><CODE>DatabaseEntry</CODE></A> objects.</li> |
| 117 |
<li>When using the <A HREF="../../../../com/sleepycat/collections/package-summary.html"><CODE>com.sleepycat.collections</CODE></A> package, an instance of |
| 118 |
this class can be used with any stored collection.</li> |
| 119 |
</ol> |
| 120 |
<P> |
| 121 |
|
| 122 |
<P> |
| 123 |
<DL> |
| 124 |
<DT><B>See Also:</B><DD><a href="package-summary.html#bigDecimalFormats">BigDecimal Formats</a></DL> |
| 125 |
<HR> |
| 126 |
|
| 127 |
<P> |
| 128 |
|
| 129 |
|
| 130 |
|
| 131 |
<A NAME="constructor_summary"></A> |
| 132 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 133 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 134 |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| 135 |
<B>Constructor Summary</B></FONT></TH> |
| 136 |
</TR> |
| 137 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 138 |
<TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/SortedBigDecimalBinding.html#SortedBigDecimalBinding()">SortedBigDecimalBinding</A></B>()</CODE> |
| 139 |
|
| 140 |
<BR> |
| 141 |
</TD> |
| 142 |
</TR> |
| 143 |
</TABLE> |
| 144 |
|
| 145 |
|
| 146 |
|
| 147 |
<A NAME="method_summary"></A> |
| 148 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 149 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 150 |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| 151 |
<B>Method Summary</B></FONT></TH> |
| 152 |
</TR> |
| 153 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 154 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 155 |
<CODE>static void</CODE></FONT></TD> |
| 156 |
<TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/SortedBigDecimalBinding.html#bigDecimalToEntry(java.math.BigDecimal, com.sleepycat.db.DatabaseEntry)">bigDecimalToEntry</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A> val, |
| 157 |
<A HREF="../../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</A> entry)</CODE> |
| 158 |
|
| 159 |
<BR> |
| 160 |
Converts a <code>BigDecimal</code> value into an entry buffer.</TD> |
| 161 |
</TR> |
| 162 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 163 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 164 |
<CODE>static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A></CODE></FONT></TD> |
| 165 |
<TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/SortedBigDecimalBinding.html#entryToBigDecimal(com.sleepycat.db.DatabaseEntry)">entryToBigDecimal</A></B>(<A HREF="../../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</A> entry)</CODE> |
| 166 |
|
| 167 |
<BR> |
| 168 |
Converts an entry buffer into a <code>BigDecimal</code> value.</TD> |
| 169 |
</TR> |
| 170 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 171 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 172 |
<CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A></CODE></FONT></TD> |
| 173 |
<TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/SortedBigDecimalBinding.html#entryToObject(com.sleepycat.bind.tuple.TupleInput)">entryToObject</A></B>(<A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html" title="class in com.sleepycat.bind.tuple">TupleInput</A> input)</CODE> |
| 174 |
|
| 175 |
<BR> |
| 176 |
Constructs a key or data object from a <A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html" title="class in com.sleepycat.bind.tuple"><CODE>TupleInput</CODE></A> entry.</TD> |
| 177 |
</TR> |
| 178 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 179 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 180 |
<CODE>protected <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A></CODE></FONT></TD> |
| 181 |
<TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/SortedBigDecimalBinding.html#getTupleOutput(java.math.BigDecimal)">getTupleOutput</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A> object)</CODE> |
| 182 |
|
| 183 |
<BR> |
| 184 |
Returns an empty TupleOutput instance that will be used by the tuple |
| 185 |
binding or key creator.</TD> |
| 186 |
</TR> |
| 187 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 188 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 189 |
<CODE> void</CODE></FONT></TD> |
| 190 |
<TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/SortedBigDecimalBinding.html#objectToEntry(java.math.BigDecimal, com.sleepycat.bind.tuple.TupleOutput)">objectToEntry</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A> object, |
| 191 |
<A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A> output)</CODE> |
| 192 |
|
| 193 |
<BR> |
| 194 |
Converts a key or data object to a tuple entry.</TD> |
| 195 |
</TR> |
| 196 |
</TABLE> |
| 197 |
<A NAME="methods_inherited_from_class_com.sleepycat.bind.tuple.TupleBinding"></A> |
| 198 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 199 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| 200 |
<TH ALIGN="left"><B>Methods inherited from class com.sleepycat.bind.tuple.<A HREF="../../../../com/sleepycat/bind/tuple/TupleBinding.html" title="class in com.sleepycat.bind.tuple">TupleBinding</A></B></TH> |
| 201 |
</TR> |
| 202 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 203 |
<TD><CODE><A HREF="../../../../com/sleepycat/bind/tuple/TupleBinding.html#entryToObject(com.sleepycat.db.DatabaseEntry)">entryToObject</A>, <A HREF="../../../../com/sleepycat/bind/tuple/TupleBinding.html#getPrimitiveBinding(java.lang.Class)">getPrimitiveBinding</A>, <A HREF="../../../../com/sleepycat/bind/tuple/TupleBinding.html#objectToEntry(E, com.sleepycat.db.DatabaseEntry)">objectToEntry</A></CODE></TD> |
| 204 |
</TR> |
| 205 |
</TABLE> |
| 206 |
<A NAME="methods_inherited_from_class_com.sleepycat.bind.tuple.TupleBase"></A> |
| 207 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 208 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| 209 |
<TH ALIGN="left"><B>Methods inherited from class com.sleepycat.bind.tuple.<A HREF="../../../../com/sleepycat/bind/tuple/TupleBase.html" title="class in com.sleepycat.bind.tuple">TupleBase</A></B></TH> |
| 210 |
</TR> |
| 211 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 212 |
<TD><CODE><A HREF="../../../../com/sleepycat/bind/tuple/TupleBase.html#entryToInput(com.sleepycat.db.DatabaseEntry)">entryToInput</A>, <A HREF="../../../../com/sleepycat/bind/tuple/TupleBase.html#getTupleBufferSize()">getTupleBufferSize</A>, <A HREF="../../../../com/sleepycat/bind/tuple/TupleBase.html#inputToEntry(com.sleepycat.bind.tuple.TupleInput, com.sleepycat.db.DatabaseEntry)">inputToEntry</A>, <A HREF="../../../../com/sleepycat/bind/tuple/TupleBase.html#newOutput()">newOutput</A>, <A HREF="../../../../com/sleepycat/bind/tuple/TupleBase.html#newOutput(byte[])">newOutput</A>, <A HREF="../../../../com/sleepycat/bind/tuple/TupleBase.html#outputToEntry(com.sleepycat.bind.tuple.TupleOutput, com.sleepycat.db.DatabaseEntry)">outputToEntry</A>, <A HREF="../../../../com/sleepycat/bind/tuple/TupleBase.html#setTupleBufferSize(int)">setTupleBufferSize</A></CODE></TD> |
| 213 |
</TR> |
| 214 |
</TABLE> |
| 215 |
<A NAME="methods_inherited_from_class_java.lang.Object"></A> |
| 216 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 217 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| 218 |
<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> |
| 219 |
</TR> |
| 220 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 221 |
<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#equals(java.lang.Object)" title="class or interface in java.lang">equals</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#hashCode()" title="class or interface in java.lang">hashCode</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#toString()" title="class or interface in java.lang">toString</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> |
| 222 |
</TR> |
| 223 |
</TABLE> |
| 224 |
|
| 225 |
<P> |
| 226 |
|
| 227 |
|
| 228 |
|
| 229 |
<A NAME="constructor_detail"></A> |
| 230 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 231 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 232 |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| 233 |
<B>Constructor Detail</B></FONT></TH> |
| 234 |
</TR> |
| 235 |
</TABLE> |
| 236 |
|
| 237 |
<A NAME="SortedBigDecimalBinding()"></A><H3> |
| 238 |
SortedBigDecimalBinding</H3> |
| 239 |
<PRE> |
| 240 |
public <B>SortedBigDecimalBinding</B>()</PRE> |
| 241 |
<DL> |
| 242 |
</DL> |
| 243 |
|
| 244 |
|
| 245 |
|
| 246 |
<A NAME="method_detail"></A> |
| 247 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 248 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 249 |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| 250 |
<B>Method Detail</B></FONT></TH> |
| 251 |
</TR> |
| 252 |
</TABLE> |
| 253 |
|
| 254 |
<A NAME="entryToObject(com.sleepycat.bind.tuple.TupleInput)"></A><H3> |
| 255 |
entryToObject</H3> |
| 256 |
<PRE> |
| 257 |
public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A> <B>entryToObject</B>(<A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html" title="class in com.sleepycat.bind.tuple">TupleInput</A> input)</PRE> |
| 258 |
<DL> |
| 259 |
<DD><B>Description copied from class: <CODE><A HREF="../../../../com/sleepycat/bind/tuple/TupleBinding.html#entryToObject(com.sleepycat.bind.tuple.TupleInput)">TupleBinding</A></CODE></B></DD> |
| 260 |
<DD>Constructs a key or data object from a <A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html" title="class in com.sleepycat.bind.tuple"><CODE>TupleInput</CODE></A> entry. |
| 261 |
<P> |
| 262 |
<DD><DL> |
| 263 |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/sleepycat/bind/tuple/TupleBinding.html#entryToObject(com.sleepycat.bind.tuple.TupleInput)">entryToObject</A></CODE> in class <CODE><A HREF="../../../../com/sleepycat/bind/tuple/TupleBinding.html" title="class in com.sleepycat.bind.tuple">TupleBinding</A><<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>></CODE></DL> |
| 264 |
</DD> |
| 265 |
<DD><DL> |
| 266 |
<DT><B>Parameters:</B><DD><CODE>input</CODE> - is the tuple key or data entry. |
| 267 |
<DT><B>Returns:</B><DD>the key or data object constructed from the entry.</DL> |
| 268 |
</DD> |
| 269 |
</DL> |
| 270 |
<HR> |
| 271 |
|
| 272 |
<A NAME="objectToEntry(java.math.BigDecimal, com.sleepycat.bind.tuple.TupleOutput)"></A><H3> |
| 273 |
objectToEntry</H3> |
| 274 |
<PRE> |
| 275 |
public void <B>objectToEntry</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A> object, |
| 276 |
<A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A> output)</PRE> |
| 277 |
<DL> |
| 278 |
<DD><B>Description copied from class: <CODE><A HREF="../../../../com/sleepycat/bind/tuple/TupleBinding.html#objectToEntry(E, com.sleepycat.bind.tuple.TupleOutput)">TupleBinding</A></CODE></B></DD> |
| 279 |
<DD>Converts a key or data object to a tuple entry. |
| 280 |
<P> |
| 281 |
<DD><DL> |
| 282 |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/sleepycat/bind/tuple/TupleBinding.html#objectToEntry(E, com.sleepycat.bind.tuple.TupleOutput)">objectToEntry</A></CODE> in class <CODE><A HREF="../../../../com/sleepycat/bind/tuple/TupleBinding.html" title="class in com.sleepycat.bind.tuple">TupleBinding</A><<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>></CODE></DL> |
| 283 |
</DD> |
| 284 |
<DD><DL> |
| 285 |
<DT><B>Parameters:</B><DD><CODE>object</CODE> - is the key or data object.<DD><CODE>output</CODE> - is the tuple entry to which the key or data should be |
| 286 |
written.</DL> |
| 287 |
</DD> |
| 288 |
</DL> |
| 289 |
<HR> |
| 290 |
|
| 291 |
<A NAME="getTupleOutput(java.math.BigDecimal)"></A><H3> |
| 292 |
getTupleOutput</H3> |
| 293 |
<PRE> |
| 294 |
protected <A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A> <B>getTupleOutput</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A> object)</PRE> |
| 295 |
<DL> |
| 296 |
<DD><B>Description copied from class: <CODE><A HREF="../../../../com/sleepycat/bind/tuple/TupleBase.html#getTupleOutput(E)">TupleBase</A></CODE></B></DD> |
| 297 |
<DD>Returns an empty TupleOutput instance that will be used by the tuple |
| 298 |
binding or key creator. |
| 299 |
|
| 300 |
<p>The default implementation of this method creates a new TupleOutput |
| 301 |
with an initial buffer size that can be changed using the <A HREF="../../../../com/sleepycat/bind/tuple/TupleBase.html#setTupleBufferSize(int)"><CODE>TupleBase.setTupleBufferSize(int)</CODE></A> method.</p> |
| 302 |
|
| 303 |
<p>This method may be overridden to return a TupleOutput instance. For |
| 304 |
example, an instance per thread could be created and returned by this |
| 305 |
method. If a TupleOutput instance is reused, be sure to call its |
| 306 |
<A HREF="../../../../com/sleepycat/util/FastOutputStream.html#reset()"><CODE>FastOutputStream.reset()</CODE></A> method before each |
| 307 |
use.</p> |
| 308 |
<P> |
| 309 |
<DD><DL> |
| 310 |
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/sleepycat/bind/tuple/TupleBase.html#getTupleOutput(E)">getTupleOutput</A></CODE> in class <CODE><A HREF="../../../../com/sleepycat/bind/tuple/TupleBase.html" title="class in com.sleepycat.bind.tuple">TupleBase</A><<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>></CODE></DL> |
| 311 |
</DD> |
| 312 |
<DD><DL> |
| 313 |
<DT><B>Parameters:</B><DD><CODE>object</CODE> - is the object to be written to the tuple output, and may |
| 314 |
be used by subclasses to determine the size of the output buffer. |
| 315 |
<DT><B>Returns:</B><DD>an empty TupleOutput instance.<DT><B>See Also:</B><DD><A HREF="../../../../com/sleepycat/bind/tuple/TupleBase.html#setTupleBufferSize(int)"><CODE>TupleBase.setTupleBufferSize(int)</CODE></A></DL> |
| 316 |
</DD> |
| 317 |
</DL> |
| 318 |
<HR> |
| 319 |
|
| 320 |
<A NAME="entryToBigDecimal(com.sleepycat.db.DatabaseEntry)"></A><H3> |
| 321 |
entryToBigDecimal</H3> |
| 322 |
<PRE> |
| 323 |
public static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A> <B>entryToBigDecimal</B>(<A HREF="../../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</A> entry)</PRE> |
| 324 |
<DL> |
| 325 |
<DD>Converts an entry buffer into a <code>BigDecimal</code> value. |
| 326 |
<P> |
| 327 |
<DD><DL> |
| 328 |
<DT><B>Parameters:</B><DD><CODE>entry</CODE> - is the source entry buffer. |
| 329 |
<DT><B>Returns:</B><DD>the resulting value.</DL> |
| 330 |
</DD> |
| 331 |
</DL> |
| 332 |
<HR> |
| 333 |
|
| 334 |
<A NAME="bigDecimalToEntry(java.math.BigDecimal, com.sleepycat.db.DatabaseEntry)"></A><H3> |
| 335 |
bigDecimalToEntry</H3> |
| 336 |
<PRE> |
| 337 |
public static void <B>bigDecimalToEntry</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A> val, |
| 338 |
<A HREF="../../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</A> entry)</PRE> |
| 339 |
<DL> |
| 340 |
<DD>Converts a <code>BigDecimal</code> value into an entry buffer. |
| 341 |
<P> |
| 342 |
<DD><DL> |
| 343 |
<DT><B>Parameters:</B><DD><CODE>val</CODE> - is the source value.<DD><CODE>entry</CODE> - is the destination entry buffer.</DL> |
| 344 |
</DD> |
| 345 |
</DL> |
| 346 |
|
| 347 |
<HR> |
| 348 |
|
| 349 |
|
| 350 |
|
| 351 |
<A NAME="navbar_bottom"></A> |
| 352 |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| 353 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| 354 |
<TR> |
| 355 |
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| 356 |
<A NAME="navbar_bottom_firstrow"></A> |
| 357 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| 358 |
<TR ALIGN="center" VALIGN="top"> |
| 359 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| 360 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| 361 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| 362 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SortedBigDecimalBinding.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| 363 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| 364 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| 365 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| 366 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| 367 |
</TR> |
| 368 |
</TABLE> |
| 369 |
</TD> |
| 370 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| 371 |
<b>Berkeley DB</b><br><font size="-1"> version 5.3.28</font></EM> |
| 372 |
</TD> |
| 373 |
</TR> |
| 374 |
|
| 375 |
<TR> |
| 376 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 377 |
<A HREF="../../../../com/sleepycat/bind/tuple/ShortBinding.html" title="class in com.sleepycat.bind.tuple"><B>PREV CLASS</B></A> |
| 378 |
<A HREF="../../../../com/sleepycat/bind/tuple/SortedDoubleBinding.html" title="class in com.sleepycat.bind.tuple"><B>NEXT CLASS</B></A></FONT></TD> |
| 379 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 380 |
<A HREF="../../../../index.html?com/sleepycat/bind/tuple/SortedBigDecimalBinding.html" target="_top"><B>FRAMES</B></A> |
| 381 |
<A HREF="SortedBigDecimalBinding.html" target="_top"><B>NO FRAMES</B></A> |
| 382 |
<SCRIPT type="text/javascript"> |
| 383 |
<!-- |
| 384 |
if(window==top) { |
| 385 |
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| 386 |
} |
| 387 |
//--> |
| 388 |
</SCRIPT> |
| 389 |
<NOSCRIPT> |
| 390 |
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| 391 |
</NOSCRIPT> |
| 392 |
|
| 393 |
|
| 394 |
</FONT></TD> |
| 395 |
</TR> |
| 396 |
<TR> |
| 397 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 398 |
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| 399 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 400 |
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| 401 |
</TR> |
| 402 |
</TABLE> |
| 403 |
<A NAME="skip-navbar_bottom"></A> |
| 404 |
|
| 405 |
|
| 406 |
<HR> |
| 407 |
<font size=1>Copyright (c) 1996, 2013 Oracle and/or its affiliates. All rights reserved.</font> |
| 408 |
</BODY> |
| 409 |
</HTML> |