XStream Benchmark 1.4.1-redhat-1

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

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

public class JTreeTarget
extends Object
implements Target

A Swing JTree instance, which is a suitably complex object graph.

Author:
Joe Walnes
See Also:
Harness, Target, JTree

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

JTreeTarget

public JTreeTarget()
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-1

Copyright © 2004-2011 XStream. All Rights Reserved.