| com.thoughtworks.xstream.tools.benchmark.Target
All known Subclasses: com.thoughtworks.xstream.benchmark.strings.targets.StringArray, com.thoughtworks.xstream.benchmark.reflection.targets.AbstractReflectionTarget, com.thoughtworks.xstream.tools.benchmark.targets.JTreeTarget, com.thoughtworks.xstream.benchmark.strings.targets.BigString, com.thoughtworks.xstream.tools.benchmark.targets.StringTarget, com.thoughtworks.xstream.benchmark.cache.targets.ReflectionTarget, com.thoughtworks.xstream.tools.benchmark.targets.UserDefinedClassTarget, com.thoughtworks.xstream.tools.benchmark.targets.ListTarget, com.thoughtworks.xstream.benchmark.cache.targets.ExtendedTarget, com.thoughtworks.xstream.benchmark.cache.targets.BasicTarget, com.thoughtworks.xstream.benchmark.cache.targets.SerializableTarget,
Target | public interface Target (Code) | | Provides a target object to use in the metric. This could be a very small object or a large
complicated graph.
Also used to test if the object is equal to another instance (as some object's don't provide
sensible equals() methods.
author: Joe Walnes See Also: Harness |
Method Summary | |
boolean | isEqual(Object other) Check whether the object for this target is equal to another one. | Object | target() The target to use in the metric. |
isEqual | boolean isEqual(Object other)(Code) | | Check whether the object for this target is equal to another one.
|
target | Object target()(Code) | | The target to use in the metric.
|
|
|