程序包 weka.core
类 FastVector.FastVectorEnumeration
java.lang.Object
weka.core.FastVector.FastVectorEnumeration
- 所有已实现的接口:
Enumeration
,RevisionHandler
- 封闭类:
- FastVector
public class FastVector.FastVectorEnumeration
extends Object
implements Enumeration, RevisionHandler
Class for enumerating the vector's elements.
-
构造器概要
构造器构造器说明FastVectorEnumeration
(FastVector vector) Constructs an enumeration.FastVectorEnumeration
(FastVector vector, int special) Constructs an enumeration with a special element. -
方法概要
修饰符和类型方法说明Returns the revision string.final boolean
Tests if there are any more elements to enumerate.final Object
Returns the next element.从接口继承的方法 java.util.Enumeration
asIterator
-
构造器详细资料
-
FastVectorEnumeration
Constructs an enumeration.- 参数:
vector
- the vector which is to be enumerated
-
FastVectorEnumeration
Constructs an enumeration with a special element. The special element is skipped during the enumeration.- 参数:
vector
- the vector which is to be enumeratedspecial
- the index of the special element
-
-
方法详细资料
-
hasMoreElements
public final boolean hasMoreElements()Tests if there are any more elements to enumerate.- 指定者:
hasMoreElements
在接口中Enumeration
- 返回:
- true if there are some elements left
-
nextElement
Returns the next element.- 指定者:
nextElement
在接口中Enumeration
- 返回:
- the next element to be enumerated
-
getRevision
Returns the revision string.- 指定者:
getRevision
在接口中RevisionHandler
- 返回:
- the revision
-