XStream Benchmark 1.4.1-redhat-2

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

java.lang.Object
  extended by 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

Constructor Summary
ListTarget(int size)
           
 
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

ListTarget

public ListTarget(int size)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

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

XStream Benchmark 1.4.1-redhat-2

Copyright © 2004-2012 XStream. All Rights Reserved.