程序包 weka.core

类 PropertyPath.PathElement

java.lang.Object
weka.core.PropertyPath.PathElement
所有已实现的接口:
Cloneable, RevisionHandler
封闭类:
PropertyPath

public static class PropertyPath.PathElement extends Object implements Cloneable, RevisionHandler
Represents a single element of a property path
版本:
$Revision: 4742 $
作者:
fracpete (fracpete at waikato dot ac dot nz)
  • 构造器详细资料

    • PathElement

      public PathElement(String property)
      initializes the path element with the given property
      参数:
      property - the property to initialize with
  • 方法详细资料

    • clone

      public Object clone()
      returns a clone of the current object
      返回:
      the clone of the current state
    • getName

      public String getName()
      returns the name of the property
      返回:
      the name of the property
    • hasIndex

      public boolean hasIndex()
      returns whether the property is an index-based one
      返回:
      true if the property has an index
    • getIndex

      public int getIndex()
      returns the index of the property, -1 if the property is not an index-based one
      返回:
      the index of the property
    • toString

      public String toString()
      returns the element once again as string
      覆盖:
      toString 在类中 Object
      返回:
      the property as string
    • getRevision

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