java.lang.Object
com.thoughtworks.xstream.tools.benchmark.targets.ListTarget
All Implemented Interfaces:
Target

public class ListTarget extends Object implements Target
Deprecated.
As of 1.4.9 use JMH instead
An ArrayList of user defined class (Person) instances to serialize.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private List
    Deprecated.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ListTarget(int size)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isEqual(Object other)
    Deprecated.
    Check whether the object for this target is equal to another one.
    Deprecated.
    The target to use in the metric.
    Deprecated.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • list

      private List list
      Deprecated.
  • Constructor Details

    • ListTarget

      public ListTarget(int size)
      Deprecated.
  • Method Details

    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object
    • target

      public Object target()
      Deprecated.
      Description copied from interface: Target
      The target to use in the metric.
      Specified by:
      target in interface Target
    • isEqual

      public boolean isEqual(Object other)
      Deprecated.
      Description copied from interface: Target
      Check whether the object for this target is equal to another one.
      Specified by:
      isEqual in interface Target