com.thoughtworks.xstream.tools.benchmark.targets
Class UserDefinedClassTarget

java.lang.Object
  extended bycom.thoughtworks.xstream.tools.benchmark.targets.UserDefinedClassTarget
All Implemented Interfaces:
Target

public class UserDefinedClassTarget
extends Object
implements Target

A user defined class (Person) to serialize that contains a few simple fields.

Author:
Joe Walnes
See Also:
Harness, Target

Constructor Summary
UserDefinedClassTarget()
           
 
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.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserDefinedClassTarget

public UserDefinedClassTarget()
Method Detail

toString

public String toString()

target

public Object target()
Description copied from interface: Target
The target to use in the metric.

Specified by:
target in interface Target

isEqual

public boolean isEqual(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.