XStream Benchmark 1.4.1-redhat-2

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

java.lang.Object
  extended by com.thoughtworks.xstream.tools.benchmark.targets.StringTarget
All Implemented Interfaces:
Target

public class StringTarget
extends Object
implements Target

A small java.lang.String target.

Author:
Joe Walnes
See Also:
Harness, Target

Constructor Summary
StringTarget()
           
 
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

StringTarget

public StringTarget()
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.