程序包 weka.core
类 PropertyPath.PathElement
java.lang.Object
weka.core.PropertyPath.PathElement
- 所有已实现的接口:
Cloneable
,RevisionHandler
- 封闭类:
- PropertyPath
Represents a single element of a property path
- 版本:
- $Revision: 4742 $
- 作者:
- fracpete (fracpete at waikato dot ac dot nz)
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明clone()
returns a clone of the current objectint
getIndex()
returns the index of the property, -1 if the property is not an index-based onegetName()
returns the name of the propertyReturns the revision string.boolean
hasIndex()
returns whether the property is an index-based onetoString()
returns the element once again as string
-
构造器详细资料
-
PathElement
initializes the path element with the given property- 参数:
property
- the property to initialize with
-
-
方法详细资料
-
clone
returns a clone of the current object- 返回:
- the clone of the current state
-
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
returns the element once again as string -
getRevision
Returns the revision string.- 指定者:
getRevision
在接口中RevisionHandler
- 返回:
- the revision
-