Class UserDefinedClassTarget

  • All Implemented Interfaces:
    Target

    public class UserDefinedClassTarget
    extends java.lang.Object
    implements Target
    Deprecated.
    As of 1.4.9 use JMH instead
    A user defined class (Person) to serialize that contains a few simple fields.
    See Also:
    Harness, Target
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Person person
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean isEqual​(java.lang.Object other)
      Deprecated.
      Check whether the object for this target is equal to another one.
      java.lang.Object target()
      Deprecated.
      The target to use in the metric.
      java.lang.String toString()
      Deprecated.
       
      • Methods inherited from class java.lang.Object

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

      • person

        private final Person person
        Deprecated.
    • Constructor Detail

      • UserDefinedClassTarget

        public UserDefinedClassTarget()
        Deprecated.
    • Method Detail

      • toString

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

        public java.lang.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​(java.lang.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