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

http://prototipomemoria.googlecode.com/ · HTML · 386 lines · 325 code · 39 blank · 22 comment · 0 complexity · 4781bc4aa3b3baf9ff6fd473a690f480 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>
  8. CharacterCountMetric (XStream Benchmark 1.4.1 API)
  9. </TITLE>
  10. <META NAME="date" CONTENT="2011-08-11">
  11. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style">
  12. <SCRIPT type="text/javascript">
  13. function windowTitle()
  14. {
  15. if (location.href.indexOf('is-external=true') == -1) {
  16. parent.document.title="CharacterCountMetric (XStream Benchmark 1.4.1 API)";
  17. }
  18. }
  19. </SCRIPT>
  20. <NOSCRIPT>
  21. </NOSCRIPT>
  22. </HEAD>
  23. <BODY BGCOLOR="white" onload="windowTitle();">
  24. <HR>
  25. <!-- ========= START OF TOP NAVBAR ======= -->
  26. <A NAME="navbar_top"><!-- --></A>
  27. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  28. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  29. <TR>
  30. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  31. <A NAME="navbar_top_firstrow"><!-- --></A>
  32. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  33. <TR ALIGN="center" VALIGN="top">
  34. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  35. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  36. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  37. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/CharacterCountMetric.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  38. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  39. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  40. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  41. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  42. </TR>
  43. </TABLE>
  44. </TD>
  45. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  46. </EM>
  47. </TD>
  48. </TR>
  49. <TR>
  50. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  51. &nbsp;PREV CLASS&nbsp;
  52. &nbsp;<A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/metrics/DeserializationSpeedMetric.html" title="class in com.thoughtworks.xstream.tools.benchmark.metrics"><B>NEXT CLASS</B></A></FONT></TD>
  53. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  54. <A HREF="../../../../../../index.html?com/thoughtworks/xstream/tools/benchmark/metrics/CharacterCountMetric.html" target="_top"><B>FRAMES</B></A> &nbsp;
  55. &nbsp;<A HREF="CharacterCountMetric.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  56. &nbsp;<SCRIPT type="text/javascript">
  57. <!--
  58. if(window==top) {
  59. document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  60. }
  61. //-->
  62. </SCRIPT>
  63. <NOSCRIPT>
  64. <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
  65. </NOSCRIPT>
  66. </FONT></TD>
  67. </TR>
  68. <TR>
  69. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  70. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  71. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  72. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  73. </TR>
  74. </TABLE>
  75. <A NAME="skip-navbar_top"></A>
  76. <!-- ========= END OF TOP NAVBAR ========= -->
  77. <HR>
  78. <!-- ======== START OF CLASS DATA ======== -->
  79. <H2>
  80. <FONT SIZE="-1">
  81. com.thoughtworks.xstream.tools.benchmark.metrics</FONT>
  82. <BR>
  83. Class CharacterCountMetric</H2>
  84. <PRE>
  85. <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>
  86. <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><B>com.thoughtworks.xstream.tools.benchmark.metrics.CharacterCountMetric</B>
  87. </PRE>
  88. <DL>
  89. <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>
  90. </DL>
  91. <HR>
  92. <DL>
  93. <DT><PRE>public class <B>CharacterCountMetric</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>
  94. </PRE>
  95. <P>
  96. Determines the amount of a special characters.
  97. <P>
  98. <P>
  99. <DL>
  100. <DT><B>Since:</B></DT>
  101. <DD>1.4</DD>
  102. <DT><B>Author:</B></DT>
  103. <DD>J&ouml;rg Schaible</DD>
  104. </DL>
  105. <HR>
  106. <P>
  107. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  108. <A NAME="constructor_summary"><!-- --></A>
  109. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  110. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  111. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  112. <B>Constructor Summary</B></FONT></TH>
  113. </TR>
  114. <TR BGCOLOR="white" CLASS="TableRowColor">
  115. <TD><CODE><B><A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/metrics/CharacterCountMetric.html#CharacterCountMetric(char)">CharacterCountMetric</A></B>(char&nbsp;ch)</CODE>
  116. <BR>
  117. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  118. </TR>
  119. </TABLE>
  120. &nbsp;
  121. <!-- ========== METHOD SUMMARY =========== -->
  122. <A NAME="method_summary"><!-- --></A>
  123. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  124. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  125. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  126. <B>Method Summary</B></FONT></TH>
  127. </TR>
  128. <TR BGCOLOR="white" CLASS="TableRowColor">
  129. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  130. <CODE>&nbsp;boolean</CODE></FONT></TD>
  131. <TD><CODE><B><A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/metrics/CharacterCountMetric.html#biggerIsBetter()">biggerIsBetter</A></B>()</CODE>
  132. <BR>
  133. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Whether a big result is better for this metric.</TD>
  134. </TR>
  135. <TR BGCOLOR="white" CLASS="TableRowColor">
  136. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  137. <CODE>&nbsp;double</CODE></FONT></TD>
  138. <TD><CODE><B><A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/metrics/CharacterCountMetric.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,
  139. <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>
  140. <BR>
  141. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>since 1.3</I></TD>
  142. </TR>
  143. <TR BGCOLOR="white" CLASS="TableRowColor">
  144. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  145. <CODE>&nbsp;double</CODE></FONT></TD>
  146. <TD><CODE><B><A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/metrics/CharacterCountMetric.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,
  147. <A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/Target.html" title="interface in com.thoughtworks.xstream.tools.benchmark">Target</A>&nbsp;target)</CODE>
  148. <BR>
  149. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Run the test and produce a metric.</TD>
  150. </TR>
  151. <TR BGCOLOR="white" CLASS="TableRowColor">
  152. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  153. <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>
  154. <TD><CODE><B><A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/metrics/CharacterCountMetric.html#toString()">toString</A></B>()</CODE>
  155. <BR>
  156. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  157. </TR>
  158. <TR BGCOLOR="white" CLASS="TableRowColor">
  159. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  160. <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>
  161. <TD><CODE><B><A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/metrics/CharacterCountMetric.html#unit()">unit</A></B>()</CODE>
  162. <BR>
  163. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The unit the metric is recorded in (for reporting purposes).</TD>
  164. </TR>
  165. </TABLE>
  166. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  167. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  168. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  169. <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>
  170. </TR>
  171. <TR BGCOLOR="white" CLASS="TableRowColor">
  172. <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>
  173. </TR>
  174. </TABLE>
  175. &nbsp;
  176. <P>
  177. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  178. <A NAME="constructor_detail"><!-- --></A>
  179. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  180. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  181. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  182. <B>Constructor Detail</B></FONT></TH>
  183. </TR>
  184. </TABLE>
  185. <A NAME="CharacterCountMetric(char)"><!-- --></A><H3>
  186. CharacterCountMetric</H3>
  187. <PRE>
  188. public <B>CharacterCountMetric</B>(char&nbsp;ch)</PRE>
  189. <DL>
  190. </DL>
  191. <!-- ============ METHOD DETAIL ========== -->
  192. <A NAME="method_detail"><!-- --></A>
  193. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  194. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  195. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  196. <B>Method Detail</B></FONT></TH>
  197. </TR>
  198. </TABLE>
  199. <A NAME="run(com.thoughtworks.xstream.tools.benchmark.Product, com.thoughtworks.xstream.tools.benchmark.Target)"><!-- --></A><H3>
  200. run</H3>
  201. <PRE>
  202. public 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,
  203. <A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/Target.html" title="interface in com.thoughtworks.xstream.tools.benchmark">Target</A>&nbsp;target)
  204. 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>
  205. <DL>
  206. <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>
  207. <DD>Run the test and produce a metric.
  208. <P>
  209. <DD><DL>
  210. <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>
  211. </DD>
  212. <DD><DL>
  213. <DT><B>Parameters:</B><DD><CODE>product</CODE> - Product to use in test.<DD><CODE>target</CODE> - A target to use against the product.
  214. <DT><B>Returns:</B><DD>The resulting metric (e.g. 12.22).
  215. <DT><B>Throws:</B>
  216. <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
  217. 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>
  218. </DD>
  219. </DL>
  220. <HR>
  221. <A NAME="run(com.thoughtworks.xstream.tools.benchmark.Product, java.lang.Object)"><!-- --></A><H3>
  222. run</H3>
  223. <PRE>
  224. public 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,
  225. <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)
  226. 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>
  227. <DL>
  228. <DD><B>Deprecated.</B>&nbsp;<I>since 1.3</I>
  229. <P>
  230. <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>
  231. <DD>Run the test and produce a metric.
  232. <P>
  233. <DD><DL>
  234. <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>
  235. </DD>
  236. <DD><DL>
  237. <DT><B>Parameters:</B><DD><CODE>product</CODE> - Product to use in test.<DD><CODE>object</CODE> - A object to use against the product.
  238. <DT><B>Returns:</B><DD>The resulting metric (e.g. 12.22).
  239. <DT><B>Throws:</B>
  240. <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
  241. 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>
  242. </DD>
  243. </DL>
  244. <HR>
  245. <A NAME="toString()"><!-- --></A><H3>
  246. toString</H3>
  247. <PRE>
  248. public <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>
  249. <DL>
  250. <DD><DL>
  251. <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>
  252. </DD>
  253. <DD><DL>
  254. </DL>
  255. </DD>
  256. </DL>
  257. <HR>
  258. <A NAME="unit()"><!-- --></A><H3>
  259. unit</H3>
  260. <PRE>
  261. public <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>
  262. <DL>
  263. <DD><B>Description copied from interface: <CODE><A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/Metric.html#unit()">Metric</A></CODE></B></DD>
  264. <DD>The unit the metric is recorded in (for reporting purposes).
  265. e.g. "ms" or "bytes".
  266. <P>
  267. <DD><DL>
  268. <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>
  269. </DD>
  270. <DD><DL>
  271. </DL>
  272. </DD>
  273. </DL>
  274. <HR>
  275. <A NAME="biggerIsBetter()"><!-- --></A><H3>
  276. biggerIsBetter</H3>
  277. <PRE>
  278. public boolean <B>biggerIsBetter</B>()</PRE>
  279. <DL>
  280. <DD><B>Description copied from interface: <CODE><A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/Metric.html#biggerIsBetter()">Metric</A></CODE></B></DD>
  281. <DD>Whether a big result is better for this metric.
  282. <P>
  283. <DD><DL>
  284. <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>
  285. </DD>
  286. <DD><DL>
  287. </DL>
  288. </DD>
  289. </DL>
  290. <!-- ========= END OF CLASS DATA ========= -->
  291. <HR>
  292. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  293. <A NAME="navbar_bottom"><!-- --></A>
  294. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  295. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  296. <TR>
  297. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  298. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  299. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  300. <TR ALIGN="center" VALIGN="top">
  301. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  302. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  303. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  304. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/CharacterCountMetric.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  305. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  306. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  307. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  308. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  309. </TR>
  310. </TABLE>
  311. </TD>
  312. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  313. </EM>
  314. </TD>
  315. </TR>
  316. <TR>
  317. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  318. &nbsp;PREV CLASS&nbsp;
  319. &nbsp;<A HREF="../../../../../../com/thoughtworks/xstream/tools/benchmark/metrics/DeserializationSpeedMetric.html" title="class in com.thoughtworks.xstream.tools.benchmark.metrics"><B>NEXT CLASS</B></A></FONT></TD>
  320. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  321. <A HREF="../../../../../../index.html?com/thoughtworks/xstream/tools/benchmark/metrics/CharacterCountMetric.html" target="_top"><B>FRAMES</B></A> &nbsp;
  322. &nbsp;<A HREF="CharacterCountMetric.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  323. &nbsp;<SCRIPT type="text/javascript">
  324. <!--
  325. if(window==top) {
  326. document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  327. }
  328. //-->
  329. </SCRIPT>
  330. <NOSCRIPT>
  331. <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
  332. </NOSCRIPT>
  333. </FONT></TD>
  334. </TR>
  335. <TR>
  336. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  337. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  338. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  339. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  340. </TR>
  341. </TABLE>
  342. <A NAME="skip-navbar_bottom"></A>
  343. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  344. <HR>
  345. Copyright &#169; 2004-2011 <a href="http://xstream.codehaus.org">XStream</a>. All Rights Reserved.
  346. </BODY>
  347. </HTML>