Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004-2008 XStream. All Rights Reserved.