com.thoughtworks.xstream.tools.benchmark
Interface Target

All Known Implementing Classes:
BasicTarget, ExtendedTarget, JavaBeanTarget, JTreeTarget, ListTarget, ReflectionTarget, SerializableTarget, StringTarget, UserDefinedClassTarget

public interface Target

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.
 

Method Detail

target

Object target()
The target to use in the metric.


isEqual

boolean isEqual(Object other)
Check whether the object for this target is equal to another one.



Copyright © 2004-2014 XStream. All Rights Reserved.