PageRenderTime 109ms CodeModel.GetById 69ms app.highlight 31ms RepoModel.GetById 2ms app.codeStats 0ms

/Prototipo/Servlet/lib/xstream-distribution-1.4.1-bin/xstream-1.4.1/docs/benchmark-javadoc/com/thoughtworks/xstream/tools/benchmark/metrics/DeserializationSpeedMetric.html

http://prototipomemoria.googlecode.com/
HTML | 413 lines | 350 code | 41 blank | 22 comment | 0 complexity | 6f1bfd0b970996312538d4a0bf790390 MD5 | raw file
  1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2<!--NewPage-->
  3<HTML>
  4<HEAD>
  5<!-- Generated by javadoc (build 1.6.0_26) on Thu Aug 11 04:42:06 CEST 2011 -->
  6<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
  7<TITLE>
  8DeserializationSpeedMetric (XStream Benchmark 1.4.1 API)
  9</TITLE>
 10
 11<META NAME="date" CONTENT="2011-08-11">
 12
 13<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style">
 14
 15<SCRIPT type="text/javascript">
 16function windowTitle()
 17{
 18    if (location.href.indexOf('is-external=true') == -1) {
 19        parent.document.title="DeserializationSpeedMetric (XStream Benchmark 1.4.1 API)";
 20    }
 21}
 22</SCRIPT>
 23<NOSCRIPT>
 24</NOSCRIPT>
 25
 26</HEAD>
 27
 28<BODY BGCOLOR="white" onload="windowTitle();">
 29<HR>
 30
 31
 32<!-- ========= START OF TOP NAVBAR ======= -->
 33<A NAME="navbar_top"><!-- --></A>
 34<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
 35<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
 36<TR>
 37<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 38<A NAME="navbar_top_firstrow"><!-- --></A>
 39<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
 40  <TR ALIGN="center" VALIGN="top">
 41  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
 42  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 43  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
 44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/DeserializationSpeedMetric.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
 45  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
 46  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
 47  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 48  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
 49  </TR>
 50</TABLE>
 51</TD>
 52<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 53</EM>
 54</TD>
 55</TR>
 56
 57<TR>
 58<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 59&nbsp;<A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/metrics/CharacterCountMetric.html" title="class in com.thoughtworks.xstream.tools.benchmark.metrics"><B>PREV CLASS</B></A>&nbsp;
 60&nbsp;<A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/metrics/SerializationSpeedMetric.html" title="class in com.thoughtworks.xstream.tools.benchmark.metrics"><B>NEXT CLASS</B></A></FONT></TD>
 61<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 62  <A HREF="../../../../../../index.html?com/thoughtworks/xstream/tools/benchmark/metrics/DeserializationSpeedMetric.html" target="_top"><B>FRAMES</B></A>  &nbsp;
 63&nbsp;<A HREF="DeserializationSpeedMetric.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
 64&nbsp;<SCRIPT type="text/javascript">
 65  <!--
 66  if(window==top) {
 67    document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
 68  }
 69  //-->
 70</SCRIPT>
 71<NOSCRIPT>
 72  <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
 73</NOSCRIPT>
 74
 75
 76</FONT></TD>
 77</TR>
 78<TR>
 79<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 80  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
 81<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 82DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
 83</TR>
 84</TABLE>
 85<A NAME="skip-navbar_top"></A>
 86<!-- ========= END OF TOP NAVBAR ========= -->
 87
 88<HR>
 89<!-- ======== START OF CLASS DATA ======== -->
 90<H2>
 91<FONT SIZE="-1">
 92com.thoughtworks.xstream.tools.benchmark.metrics</FONT>
 93<BR>
 94Class DeserializationSpeedMetric</H2>
 95<PRE>
 96<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
 97  <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><B>com.thoughtworks.xstream.tools.benchmark.metrics.DeserializationSpeedMetric</B>
 98</PRE>
 99<DL>
100<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/Metric.html" title="interface in com.thoughtworks.xstream.tools.benchmark">Metric</A></DD>
101</DL>
102<HR>
103<DL>
104<DT><PRE>public class <B>DeserializationSpeedMetric</B><DT>extends <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements <A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/Metric.html" title="interface in com.thoughtworks.xstream.tools.benchmark">Metric</A></DL>
105</PRE>
106
107<P>
108Determines how long it takes to deserialize an object (in ms).
109<P>
110
111<P>
112<DL>
113<DT><B>Author:</B></DT>
114  <DD>Joe Walnes, J&ouml;rg Schaible</DD>
115<DT><B>See Also:</B><DD><A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/Harness.html" title="class in com.thoughtworks.xstream.tools.benchmark"><CODE>Harness</CODE></A>, 
116<A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/Metric.html" title="interface in com.thoughtworks.xstream.tools.benchmark"><CODE>Metric</CODE></A></DL>
117<HR>
118
119<P>
120
121<!-- ======== CONSTRUCTOR SUMMARY ======== -->
122
123<A NAME="constructor_summary"><!-- --></A>
124<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
125<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
126<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
127<B>Constructor Summary</B></FONT></TH>
128</TR>
129<TR BGCOLOR="white" CLASS="TableRowColor">
130<TD><CODE><B><A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/metrics/DeserializationSpeedMetric.html#DeserializationSpeedMetric(int)">DeserializationSpeedMetric</A></B>(int&nbsp;iterations)</CODE>
131
132<BR>
133&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>since 1.3, use <A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/metrics/DeserializationSpeedMetric.html#DeserializationSpeedMetric(int, boolean)"><CODE>DeserializationSpeedMetric(int, boolean)</CODE></A></I></TD>
134</TR>
135<TR BGCOLOR="white" CLASS="TableRowColor">
136<TD><CODE><B><A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/metrics/DeserializationSpeedMetric.html#DeserializationSpeedMetric(int, boolean)">DeserializationSpeedMetric</A></B>(int&nbsp;iterations,
137                           boolean&nbsp;validate)</CODE>
138
139<BR>
140&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Measure deserialization speed.</TD>
141</TR>
142</TABLE>
143&nbsp;
144<!-- ========== METHOD SUMMARY =========== -->
145
146<A NAME="method_summary"><!-- --></A>
147<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
148<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
149<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
150<B>Method Summary</B></FONT></TH>
151</TR>
152<TR BGCOLOR="white" CLASS="TableRowColor">
153<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
154<CODE>&nbsp;boolean</CODE></FONT></TD>
155<TD><CODE><B><A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/metrics/DeserializationSpeedMetric.html#biggerIsBetter()">biggerIsBetter</A></B>()</CODE>
156
157<BR>
158&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Whether a big result is better for this metric.</TD>
159</TR>
160<TR BGCOLOR="white" CLASS="TableRowColor">
161<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
162<CODE>&nbsp;double</CODE></FONT></TD>
163<TD><CODE><B><A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/metrics/DeserializationSpeedMetric.html#run(com.thoughtworks.xstream.tools.benchmark.Product, java.lang.Object)">run</A></B>(<A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/Product.html" title="interface in com.thoughtworks.xstream.tools.benchmark">Product</A>&nbsp;product,
164    <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</CODE>
165
166<BR>
167&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>since 1.3</I></TD>
168</TR>
169<TR BGCOLOR="white" CLASS="TableRowColor">
170<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
171<CODE>&nbsp;double</CODE></FONT></TD>
172<TD><CODE><B><A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/metrics/DeserializationSpeedMetric.html#run(com.thoughtworks.xstream.tools.benchmark.Product, com.thoughtworks.xstream.tools.benchmark.Target)">run</A></B>(<A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/Product.html" title="interface in com.thoughtworks.xstream.tools.benchmark">Product</A>&nbsp;product,
173    <A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/Target.html" title="interface in com.thoughtworks.xstream.tools.benchmark">Target</A>&nbsp;target)</CODE>
174
175<BR>
176&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Run the test and produce a metric.</TD>
177</TR>
178<TR BGCOLOR="white" CLASS="TableRowColor">
179<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
180<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
181<TD><CODE><B><A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/metrics/DeserializationSpeedMetric.html#toString()">toString</A></B>()</CODE>
182
183<BR>
184&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
185</TR>
186<TR BGCOLOR="white" CLASS="TableRowColor">
187<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
188<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
189<TD><CODE><B><A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/metrics/DeserializationSpeedMetric.html#unit()">unit</A></B>()</CODE>
190
191<BR>
192&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The unit the metric is recorded in (for reporting purposes).</TD>
193</TR>
194</TABLE>
195&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
196<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
197<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
198<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
199</TR>
200<TR BGCOLOR="white" CLASS="TableRowColor">
201<TD><CODE><A HREF="http://download.oracle.com/javase/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
202</TR>
203</TABLE>
204&nbsp;
205<P>
206
207<!-- ========= CONSTRUCTOR DETAIL ======== -->
208
209<A NAME="constructor_detail"><!-- --></A>
210<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
211<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
212<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
213<B>Constructor Detail</B></FONT></TH>
214</TR>
215</TABLE>
216
217<A NAME="DeserializationSpeedMetric(int)"><!-- --></A><H3>
218DeserializationSpeedMetric</H3>
219<PRE>
220public <B>DeserializationSpeedMetric</B>(int&nbsp;iterations)</PRE>
221<DL>
222<DD><B>Deprecated.</B>&nbsp;<I>since 1.3, use <A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/metrics/DeserializationSpeedMetric.html#DeserializationSpeedMetric(int, boolean)"><CODE>DeserializationSpeedMetric(int, boolean)</CODE></A></I>
223<P>
224<DD>Measure deserialization speed.
225<P>
226<DL>
227<DT><B>Parameters:</B><DD><CODE>iterations</CODE> - </DL>
228</DL>
229<HR>
230
231<A NAME="DeserializationSpeedMetric(int, boolean)"><!-- --></A><H3>
232DeserializationSpeedMetric</H3>
233<PRE>
234public <B>DeserializationSpeedMetric</B>(int&nbsp;iterations,
235                                  boolean&nbsp;validate)</PRE>
236<DL>
237<DD>Measure deserialization speed.
238<P>
239<DL>
240<DT><B>Parameters:</B><DD><CODE>iterations</CODE> - <DD><CODE>validate</CODE> - flag to compare result of last iteration with original data<DT><B>Since:</B></DT>
241  <DD>1.3</DD>
242</DL>
243</DL>
244
245<!-- ============ METHOD DETAIL ========== -->
246
247<A NAME="method_detail"><!-- --></A>
248<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
249<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
250<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
251<B>Method Detail</B></FONT></TH>
252</TR>
253</TABLE>
254
255<A NAME="run(com.thoughtworks.xstream.tools.benchmark.Product, com.thoughtworks.xstream.tools.benchmark.Target)"><!-- --></A><H3>
256run</H3>
257<PRE>
258public double <B>run</B>(<A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/Product.html" title="interface in com.thoughtworks.xstream.tools.benchmark">Product</A>&nbsp;product,
259                  <A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/Target.html" title="interface in com.thoughtworks.xstream.tools.benchmark">Target</A>&nbsp;target)
260           throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></PRE>
261<DL>
262<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/Metric.html#run(com.thoughtworks.xstream.tools.benchmark.Product, com.thoughtworks.xstream.tools.benchmark.Target)">Metric</A></CODE></B></DD>
263<DD>Run the test and produce a metric.
264<P>
265<DD><DL>
266<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/Metric.html#run(com.thoughtworks.xstream.tools.benchmark.Product, com.thoughtworks.xstream.tools.benchmark.Target)">run</A></CODE> in interface <CODE><A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/Metric.html" title="interface in com.thoughtworks.xstream.tools.benchmark">Metric</A></CODE></DL>
267</DD>
268<DD><DL>
269<DT><B>Parameters:</B><DD><CODE>product</CODE> - Product to use in test.<DD><CODE>target</CODE> - A target to use against the product.
270<DT><B>Returns:</B><DD>The resulting metric (e.g. 12.22).
271<DT><B>Throws:</B>
272<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></CODE> - If this metric could not be obtained. This will
273                   be reported back to the <A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/Reporter.html" title="interface in com.thoughtworks.xstream.tools.benchmark"><CODE>Reporter</CODE></A>.</DL>
274</DD>
275</DL>
276<HR>
277
278<A NAME="run(com.thoughtworks.xstream.tools.benchmark.Product, java.lang.Object)"><!-- --></A><H3>
279run</H3>
280<PRE>
281public double <B>run</B>(<A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/Product.html" title="interface in com.thoughtworks.xstream.tools.benchmark">Product</A>&nbsp;product,
282                  <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)
283           throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></PRE>
284<DL>
285<DD><B>Deprecated.</B>&nbsp;<I>since 1.3</I>
286<P>
287<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/Metric.html#run(com.thoughtworks.xstream.tools.benchmark.Product, java.lang.Object)">Metric</A></CODE></B></DD>
288<DD>Run the test and produce a metric.
289<P>
290<DD><DL>
291<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/Metric.html#run(com.thoughtworks.xstream.tools.benchmark.Product, java.lang.Object)">run</A></CODE> in interface <CODE><A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/Metric.html" title="interface in com.thoughtworks.xstream.tools.benchmark">Metric</A></CODE></DL>
292</DD>
293<DD><DL>
294<DT><B>Parameters:</B><DD><CODE>product</CODE> - Product to use in test.<DD><CODE>object</CODE> - A object to use against the product.
295<DT><B>Returns:</B><DD>The resulting metric (e.g. 12.22).
296<DT><B>Throws:</B>
297<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></CODE> - If this metric could not be obtained. This will
298                   be reported back to the <A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/Reporter.html" title="interface in com.thoughtworks.xstream.tools.benchmark"><CODE>Reporter</CODE></A>.</DL>
299</DD>
300</DL>
301<HR>
302
303<A NAME="unit()"><!-- --></A><H3>
304unit</H3>
305<PRE>
306public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>unit</B>()</PRE>
307<DL>
308<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/Metric.html#unit()">Metric</A></CODE></B></DD>
309<DD>The unit the metric is recorded in (for reporting purposes).
310 e.g. "ms" or "bytes".
311<P>
312<DD><DL>
313<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/Metric.html#unit()">unit</A></CODE> in interface <CODE><A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/Metric.html" title="interface in com.thoughtworks.xstream.tools.benchmark">Metric</A></CODE></DL>
314</DD>
315<DD><DL>
316</DL>
317</DD>
318</DL>
319<HR>
320
321<A NAME="biggerIsBetter()"><!-- --></A><H3>
322biggerIsBetter</H3>
323<PRE>
324public boolean <B>biggerIsBetter</B>()</PRE>
325<DL>
326<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/Metric.html#biggerIsBetter()">Metric</A></CODE></B></DD>
327<DD>Whether a big result is better for this metric.
328<P>
329<DD><DL>
330<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/Metric.html#biggerIsBetter()">biggerIsBetter</A></CODE> in interface <CODE><A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/Metric.html" title="interface in com.thoughtworks.xstream.tools.benchmark">Metric</A></CODE></DL>
331</DD>
332<DD><DL>
333</DL>
334</DD>
335</DL>
336<HR>
337
338<A NAME="toString()"><!-- --></A><H3>
339toString</H3>
340<PRE>
341public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE>
342<DL>
343<DD><DL>
344<DT><B>Overrides:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/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/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL>
345</DD>
346<DD><DL>
347</DL>
348</DD>
349</DL>
350<!-- ========= END OF CLASS DATA ========= -->
351<HR>
352
353
354<!-- ======= START OF BOTTOM NAVBAR ====== -->
355<A NAME="navbar_bottom"><!-- --></A>
356<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
357<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
358<TR>
359<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
360<A NAME="navbar_bottom_firstrow"><!-- --></A>
361<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
362  <TR ALIGN="center" VALIGN="top">
363  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
364  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
365  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
366  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/DeserializationSpeedMetric.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
367  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
368  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
369  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
370  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
371  </TR>
372</TABLE>
373</TD>
374<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
375</EM>
376</TD>
377</TR>
378
379<TR>
380<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
381&nbsp;<A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/metrics/CharacterCountMetric.html" title="class in com.thoughtworks.xstream.tools.benchmark.metrics"><B>PREV CLASS</B></A>&nbsp;
382&nbsp;<A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/metrics/SerializationSpeedMetric.html" title="class in com.thoughtworks.xstream.tools.benchmark.metrics"><B>NEXT CLASS</B></A></FONT></TD>
383<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
384  <A HREF="../../../../../../index.html?com/thoughtworks/xstream/tools/benchmark/metrics/DeserializationSpeedMetric.html" target="_top"><B>FRAMES</B></A>  &nbsp;
385&nbsp;<A HREF="DeserializationSpeedMetric.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
386&nbsp;<SCRIPT type="text/javascript">
387  <!--
388  if(window==top) {
389    document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
390  }
391  //-->
392</SCRIPT>
393<NOSCRIPT>
394  <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
395</NOSCRIPT>
396
397
398</FONT></TD>
399</TR>
400<TR>
401<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
402  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
403<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
404DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
405</TR>
406</TABLE>
407<A NAME="skip-navbar_bottom"></A>
408<!-- ======== END OF BOTTOM NAVBAR ======= -->
409
410<HR>
411Copyright &#169; 2004-2011 <a href="http://xstream.codehaus.org">XStream</a>. All Rights Reserved.
412</BODY>
413</HTML>