com.thoughtworks.xstream.tools.benchmark.targets
Class ListTarget
java.lang.Object
com.thoughtworks.xstream.tools.benchmark.targets.ListTarget
- All Implemented Interfaces:
- Target
- public class ListTarget
- extends Object
- implements Target
An ArrayList of user defined class (Person
) instances to serialize.
- Author:
- Joe Walnes
- See Also:
Harness
,
Target
ListTarget
public ListTarget(int size)
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.