All Packages  Class Hierarchy  This Package  Previous  Next  Index  WEKA's home

Class weka.core.FastVector.FastVectorEnumeration

java.lang.Object
    |
    +----weka.core.FastVector.FastVectorEnumeration

public class FastVector.FastVectorEnumeration
extends java.lang.Object
implements java.util.Enumeration
Class for enumerating the vector's elements.


Constructor Index

 o FastVector.FastVectorEnumeration(FastVector, FastVector)
Constructs an enumeration.
 o FastVector.FastVectorEnumeration(FastVector, FastVector, int)
Constructs an enumeration with a special element.

Method Index

 o hasMoreElements()
Tests if there are any more elements to enumerate.
 o nextElement()
Returns the next element.

Constructor Detail

 o FastVector.FastVectorEnumeration
public FastVector.FastVectorEnumeration(FastVector this$0,
                                        FastVector vector)
          Constructs an enumeration.
Parameters:
vector - the vector which is to be enumerated
 o FastVector.FastVectorEnumeration
public FastVector.FastVectorEnumeration(FastVector this$0,
                                        FastVector vector,
                                        int special)
          Constructs an enumeration with a special element. The special element is skipped during the enumeration.
Parameters:
vector - the vector which is to be enumerated
special - the index of the special element

Method Detail

 o hasMoreElements
public final boolean hasMoreElements()
          Tests if there are any more elements to enumerate.
Returns:
true if there are some elements left
 o nextElement
public final java.lang.Object nextElement()
          Returns the next element.
Returns:
the next element to be enumerated

All Packages  Class Hierarchy  This Package  Previous  Next  Index  WEKA's home