com.thoughtworks.xstream.tools.benchmark.targets
Class UserDefinedClassTarget
java.lang.Object
com.thoughtworks.xstream.tools.benchmark.targets.UserDefinedClassTarget
- All Implemented Interfaces:
- Target
- public class UserDefinedClassTarget
- extends java.lang.Object
- implements Target
A user defined class (Person) to serialize that contains a few simple fields.
- Author:
- Joe Walnes
- See Also:
Harness,
Target
|
Method Summary |
boolean |
isEqual(java.lang.Object other)
Check whether the object for this target is equal to another one. |
java.lang.Object |
target()
The target to use in the metric. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UserDefinedClassTarget
public UserDefinedClassTarget()
toString
public java.lang.String toString()
target
public java.lang.Object target()
- Description copied from interface:
Target
- The target to use in the metric.
- Specified by:
target in interface Target
isEqual
public boolean isEqual(java.lang.Object other)
- Description copied from interface:
Target
- Check whether the object for this target is equal to another one.
- Specified by:
isEqual in interface Target
Copyright © 2004-2007 XStream. All Rights Reserved.