程序包 weka.experiment

类 PropertyNode

java.lang.Object
weka.experiment.PropertyNode
所有已实现的接口:
Serializable, RevisionHandler

public class PropertyNode extends Object implements Serializable, RevisionHandler
Stores information on a property of an object: the class of the object with the property; the property descriptor, and the current value.
版本:
$Revision: 1.7 $
作者:
Len Trigg (trigg@cs.waikato.ac.nz)
另请参阅:
  • 字段详细资料

    • value

      public Object value
      The current property value
    • parentClass

      public Class parentClass
      The class of the object with this property
    • property

      public PropertyDescriptor property
      Other info about the property
  • 构造器详细资料

    • PropertyNode

      public PropertyNode(Object pValue)
      Creates a mostly empty property.
      参数:
      pValue - a property value.
    • PropertyNode

      public PropertyNode(Object pValue, PropertyDescriptor prop, Class pClass)
      Creates a fully specified property node.
      参数:
      pValue - the current property value.
      prop - the PropertyDescriptor.
      pClass - the Class of the object with this property.
  • 方法详细资料

    • toString

      public String toString()
      Returns a string description of this property.
      覆盖:
      toString 在类中 Object
      返回:
      a value of type 'String'
    • getRevision

      public String getRevision()
      Returns the revision string.
      指定者:
      getRevision 在接口中 RevisionHandler
      返回:
      the revision