A B C D E F H I J L M P R S T U X

A

addMetric(Metric) - Method in class com.thoughtworks.xstream.tools.benchmark.Harness
 
addProduct(Product) - Method in class com.thoughtworks.xstream.tools.benchmark.Harness
 
addTarget(Target) - Method in class com.thoughtworks.xstream.tools.benchmark.Harness
 

B

biggerIsBetter() - Method in interface com.thoughtworks.xstream.tools.benchmark.Metric
Whether a big result is better for this metric.
biggerIsBetter() - Method in class com.thoughtworks.xstream.tools.benchmark.metrics.DeserializationSpeedMetric
 
biggerIsBetter() - Method in class com.thoughtworks.xstream.tools.benchmark.metrics.SerializationSpeedMetric
 
biggerIsBetter() - Method in class com.thoughtworks.xstream.tools.benchmark.metrics.SizeMetric
 

C

com.thoughtworks.xstream.tools.benchmark - package com.thoughtworks.xstream.tools.benchmark
A simple harness for running benchmarks.
com.thoughtworks.xstream.tools.benchmark.metrics - package com.thoughtworks.xstream.tools.benchmark.metrics
 
com.thoughtworks.xstream.tools.benchmark.products - package com.thoughtworks.xstream.tools.benchmark.products
 
com.thoughtworks.xstream.tools.benchmark.reporters - package com.thoughtworks.xstream.tools.benchmark.reporters
 
com.thoughtworks.xstream.tools.benchmark.targets - package com.thoughtworks.xstream.tools.benchmark.targets
 

D

DeserializationSpeedMetric - class com.thoughtworks.xstream.tools.benchmark.metrics.DeserializationSpeedMetric.
Determines how long it takes to deserialize an object (in ms).
DeserializationSpeedMetric(int) - Constructor for class com.thoughtworks.xstream.tools.benchmark.metrics.DeserializationSpeedMetric
 
dateOfBirth - Variable in class com.thoughtworks.xstream.tools.benchmark.targets.Person
 
deserialize(InputStream) - Method in interface com.thoughtworks.xstream.tools.benchmark.Product
Deserialize an object from a stream.
deserialize(InputStream) - Method in class com.thoughtworks.xstream.tools.benchmark.products.JavaObjectSerialization
 
deserialize(InputStream) - Method in class com.thoughtworks.xstream.tools.benchmark.products.XStreamBinary
 
deserialize(InputStream) - Method in class com.thoughtworks.xstream.tools.benchmark.products.XStreamCompact
 
deserialize(InputStream) - Method in class com.thoughtworks.xstream.tools.benchmark.products.XStreamDom
 
deserialize(InputStream) - Method in class com.thoughtworks.xstream.tools.benchmark.products.XStreamStax
 
deserialize(InputStream) - Method in class com.thoughtworks.xstream.tools.benchmark.products.XStreamXpp
 

E

endBenchmark() - Method in interface com.thoughtworks.xstream.tools.benchmark.Reporter
Benchmark has ended.
endBenchmark() - Method in class com.thoughtworks.xstream.tools.benchmark.reporters.HtmlReporter
 
endBenchmark() - Method in class com.thoughtworks.xstream.tools.benchmark.reporters.TextReporter
 
endMetric(Metric) - Method in interface com.thoughtworks.xstream.tools.benchmark.Reporter
 
endMetric(Metric) - Method in class com.thoughtworks.xstream.tools.benchmark.reporters.HtmlReporter
 
endMetric(Metric) - Method in class com.thoughtworks.xstream.tools.benchmark.reporters.TextReporter
 
endTarget(Target) - Method in interface com.thoughtworks.xstream.tools.benchmark.Reporter
 
endTarget(Target) - Method in class com.thoughtworks.xstream.tools.benchmark.reporters.HtmlReporter
 
endTarget(Target) - Method in class com.thoughtworks.xstream.tools.benchmark.reporters.TextReporter
 
equals(Object) - Method in class com.thoughtworks.xstream.tools.benchmark.targets.Person
 

F

firstName - Variable in class com.thoughtworks.xstream.tools.benchmark.targets.Person
 

H

Harness - class com.thoughtworks.xstream.tools.benchmark.Harness.
A simple harness for running benchmarks over object serialization products.
Harness() - Constructor for class com.thoughtworks.xstream.tools.benchmark.Harness
 
HtmlReporter - class com.thoughtworks.xstream.tools.benchmark.reporters.HtmlReporter.
 
HtmlReporter(File, String) - Constructor for class com.thoughtworks.xstream.tools.benchmark.reporters.HtmlReporter
 
hashCode() - Method in class com.thoughtworks.xstream.tools.benchmark.targets.Person
 

I

isEqual(Object) - Method in interface com.thoughtworks.xstream.tools.benchmark.Target
Check whether the object for this target is equal to another one.
isEqual(Object) - Method in class com.thoughtworks.xstream.tools.benchmark.targets.JTreeTarget
 
isEqual(Object) - Method in class com.thoughtworks.xstream.tools.benchmark.targets.ListTarget
 
isEqual(Object) - Method in class com.thoughtworks.xstream.tools.benchmark.targets.StringTarget
 
isEqual(Object) - Method in class com.thoughtworks.xstream.tools.benchmark.targets.UserDefinedClassTarget
 

J

JTreeTarget - class com.thoughtworks.xstream.tools.benchmark.targets.JTreeTarget.
A Swing JTree instance, which is a suitably complex object graph.
JTreeTarget() - Constructor for class com.thoughtworks.xstream.tools.benchmark.targets.JTreeTarget
 
JavaObjectSerialization - class com.thoughtworks.xstream.tools.benchmark.products.JavaObjectSerialization.
Standard Java Object Serialization product.
JavaObjectSerialization() - Constructor for class com.thoughtworks.xstream.tools.benchmark.products.JavaObjectSerialization
 

L

ListTarget - class com.thoughtworks.xstream.tools.benchmark.targets.ListTarget.
An ArrayList of user defined class (Person) instances to serialize.
ListTarget(int) - Constructor for class com.thoughtworks.xstream.tools.benchmark.targets.ListTarget
 
lastName - Variable in class com.thoughtworks.xstream.tools.benchmark.targets.Person
 

M

Metric - interface com.thoughtworks.xstream.tools.benchmark.Metric.
A metric is what's actually recorded.
metricFailed(Product, Exception) - Method in interface com.thoughtworks.xstream.tools.benchmark.Reporter
 
metricFailed(Product, Exception) - Method in class com.thoughtworks.xstream.tools.benchmark.reporters.HtmlReporter
 
metricFailed(Product, Exception) - Method in class com.thoughtworks.xstream.tools.benchmark.reporters.TextReporter
 
metricRecorded(Product, double) - Method in interface com.thoughtworks.xstream.tools.benchmark.Reporter
 
metricRecorded(Product, double) - Method in class com.thoughtworks.xstream.tools.benchmark.reporters.HtmlReporter
 
metricRecorded(Product, double) - Method in class com.thoughtworks.xstream.tools.benchmark.reporters.TextReporter
 

P

Person - class com.thoughtworks.xstream.tools.benchmark.targets.Person.
 
Person() - Constructor for class com.thoughtworks.xstream.tools.benchmark.targets.Person
 
Product - interface com.thoughtworks.xstream.tools.benchmark.Product.
Provides an abstraction above the product used to perform the serialization/deserialization in the benchmarks.

R

Reporter - interface com.thoughtworks.xstream.tools.benchmark.Reporter.
A listener to what the Harness is doing that should report the results.
run(Reporter) - Method in class com.thoughtworks.xstream.tools.benchmark.Harness
 
run(Product, Object) - Method in interface com.thoughtworks.xstream.tools.benchmark.Metric
Run the test and produce a metric.
run(Product, Object) - Method in class com.thoughtworks.xstream.tools.benchmark.metrics.DeserializationSpeedMetric
 
run(Product, Object) - Method in class com.thoughtworks.xstream.tools.benchmark.metrics.SerializationSpeedMetric
 
run(Product, Object) - Method in class com.thoughtworks.xstream.tools.benchmark.metrics.SizeMetric
 

S

SerializationSpeedMetric - class com.thoughtworks.xstream.tools.benchmark.metrics.SerializationSpeedMetric.
Determines how long it takes to serialize an object (in ms).
SerializationSpeedMetric(int) - Constructor for class com.thoughtworks.xstream.tools.benchmark.metrics.SerializationSpeedMetric
 
SizeMetric - class com.thoughtworks.xstream.tools.benchmark.metrics.SizeMetric.
Determines the size of the serialized form of an object (in bytes).
SizeMetric() - Constructor for class com.thoughtworks.xstream.tools.benchmark.metrics.SizeMetric
 
StringTarget - class com.thoughtworks.xstream.tools.benchmark.targets.StringTarget.
A small java.lang.String target.
StringTarget() - Constructor for class com.thoughtworks.xstream.tools.benchmark.targets.StringTarget
 
serialize(Object, OutputStream) - Method in interface com.thoughtworks.xstream.tools.benchmark.Product
Serialize an object to a stream.
serialize(Object, OutputStream) - Method in class com.thoughtworks.xstream.tools.benchmark.products.JavaObjectSerialization
 
serialize(Object, OutputStream) - Method in class com.thoughtworks.xstream.tools.benchmark.products.XStreamBinary
 
serialize(Object, OutputStream) - Method in class com.thoughtworks.xstream.tools.benchmark.products.XStreamCompact
 
serialize(Object, OutputStream) - Method in class com.thoughtworks.xstream.tools.benchmark.products.XStreamDom
 
serialize(Object, OutputStream) - Method in class com.thoughtworks.xstream.tools.benchmark.products.XStreamStax
 
serialize(Object, OutputStream) - Method in class com.thoughtworks.xstream.tools.benchmark.products.XStreamXpp
 
startBenchmark() - Method in interface com.thoughtworks.xstream.tools.benchmark.Reporter
Benchmark has started.
startBenchmark() - Method in class com.thoughtworks.xstream.tools.benchmark.reporters.HtmlReporter
 
startBenchmark() - Method in class com.thoughtworks.xstream.tools.benchmark.reporters.TextReporter
 
startMetric(Metric) - Method in interface com.thoughtworks.xstream.tools.benchmark.Reporter
 
startMetric(Metric) - Method in class com.thoughtworks.xstream.tools.benchmark.reporters.HtmlReporter
 
startMetric(Metric) - Method in class com.thoughtworks.xstream.tools.benchmark.reporters.TextReporter
 
startTarget(Target) - Method in interface com.thoughtworks.xstream.tools.benchmark.Reporter
 
startTarget(Target) - Method in class com.thoughtworks.xstream.tools.benchmark.reporters.HtmlReporter
 
startTarget(Target) - Method in class com.thoughtworks.xstream.tools.benchmark.reporters.TextReporter
 

T

Target - interface com.thoughtworks.xstream.tools.benchmark.Target.
Provides a target object to use in the metric.
TextReporter - class com.thoughtworks.xstream.tools.benchmark.reporters.TextReporter.
Reports results of Harness in text form designed for human reading.
TextReporter(PrintWriter) - Constructor for class com.thoughtworks.xstream.tools.benchmark.reporters.TextReporter
 
TextReporter(Writer) - Constructor for class com.thoughtworks.xstream.tools.benchmark.reporters.TextReporter
 
TextReporter() - Constructor for class com.thoughtworks.xstream.tools.benchmark.reporters.TextReporter
Reports to System.out.
target() - Method in interface com.thoughtworks.xstream.tools.benchmark.Target
The target to use in the metric.
target() - Method in class com.thoughtworks.xstream.tools.benchmark.targets.JTreeTarget
 
target() - Method in class com.thoughtworks.xstream.tools.benchmark.targets.ListTarget
 
target() - Method in class com.thoughtworks.xstream.tools.benchmark.targets.StringTarget
 
target() - Method in class com.thoughtworks.xstream.tools.benchmark.targets.UserDefinedClassTarget
 
toString() - Method in class com.thoughtworks.xstream.tools.benchmark.metrics.DeserializationSpeedMetric
 
toString() - Method in class com.thoughtworks.xstream.tools.benchmark.metrics.SerializationSpeedMetric
 
toString() - Method in class com.thoughtworks.xstream.tools.benchmark.metrics.SizeMetric
 
toString() - Method in class com.thoughtworks.xstream.tools.benchmark.products.JavaObjectSerialization
 
toString() - Method in class com.thoughtworks.xstream.tools.benchmark.products.XStreamBinary
 
toString() - Method in class com.thoughtworks.xstream.tools.benchmark.products.XStreamCompact
 
toString() - Method in class com.thoughtworks.xstream.tools.benchmark.products.XStreamDom
 
toString() - Method in class com.thoughtworks.xstream.tools.benchmark.products.XStreamStax
 
toString() - Method in class com.thoughtworks.xstream.tools.benchmark.products.XStreamXpp
 
toString() - Method in class com.thoughtworks.xstream.tools.benchmark.targets.JTreeTarget
 
toString() - Method in class com.thoughtworks.xstream.tools.benchmark.targets.ListTarget
 
toString() - Method in class com.thoughtworks.xstream.tools.benchmark.targets.StringTarget
 
toString() - Method in class com.thoughtworks.xstream.tools.benchmark.targets.UserDefinedClassTarget
 

U

UserDefinedClassTarget - class com.thoughtworks.xstream.tools.benchmark.targets.UserDefinedClassTarget.
A user defined class (Person) to serialize that contains a few simple fields.
UserDefinedClassTarget() - Constructor for class com.thoughtworks.xstream.tools.benchmark.targets.UserDefinedClassTarget
 
unit() - Method in interface com.thoughtworks.xstream.tools.benchmark.Metric
The unit the metric is recorded in (for reporting purposes).
unit() - Method in class com.thoughtworks.xstream.tools.benchmark.metrics.DeserializationSpeedMetric
 
unit() - Method in class com.thoughtworks.xstream.tools.benchmark.metrics.SerializationSpeedMetric
 
unit() - Method in class com.thoughtworks.xstream.tools.benchmark.metrics.SizeMetric
 

X

XStreamBinary - class com.thoughtworks.xstream.tools.benchmark.products.XStreamBinary.
Uses XStream with binary format instead of XML.
XStreamBinary() - Constructor for class com.thoughtworks.xstream.tools.benchmark.products.XStreamBinary
 
XStreamCompact - class com.thoughtworks.xstream.tools.benchmark.products.XStreamCompact.
Uses XStream with a compact XML output format.
XStreamCompact() - Constructor for class com.thoughtworks.xstream.tools.benchmark.products.XStreamCompact
 
XStreamDom - class com.thoughtworks.xstream.tools.benchmark.products.XStreamDom.
Uses XStream with the DOM driver for parsing XML.
XStreamDom() - Constructor for class com.thoughtworks.xstream.tools.benchmark.products.XStreamDom
 
XStreamStax - class com.thoughtworks.xstream.tools.benchmark.products.XStreamStax.
Uses XStream with the Stax driver for parsing XML.
XStreamStax() - Constructor for class com.thoughtworks.xstream.tools.benchmark.products.XStreamStax
 
XStreamXpp - class com.thoughtworks.xstream.tools.benchmark.products.XStreamXpp.
Uses XStream with the XPP driver for parsing XML.
XStreamXpp() - Constructor for class com.thoughtworks.xstream.tools.benchmark.products.XStreamXpp
 

A B C D E F H I J L M P R S T U X

Copyright © 2004-2007 XStream. All Rights Reserved.