edu.udo.cs.yale.tools
Class WekaInstancesAdaptor.InstanceEnumeration

java.lang.Object
  extended by edu.udo.cs.yale.tools.WekaInstancesAdaptor.InstanceEnumeration
All Implemented Interfaces:
java.util.Enumeration
Enclosing class:
WekaInstancesAdaptor

private class WekaInstancesAdaptor.InstanceEnumeration
extends java.lang.Object
implements java.util.Enumeration

This enumeration implementation uses an ExampleReader (Iterator) to enumerate the instances.


Field Summary
private  java.util.Iterator<Example> reader
           
 
Constructor Summary
WekaInstancesAdaptor.InstanceEnumeration(java.util.Iterator<Example> reader)
           
 
Method Summary
 boolean hasMoreElements()
           
 java.lang.Object nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

reader

private java.util.Iterator<Example> reader
Constructor Detail

WekaInstancesAdaptor.InstanceEnumeration

public WekaInstancesAdaptor.InstanceEnumeration(java.util.Iterator<Example> reader)
Method Detail

nextElement

public java.lang.Object nextElement()
Specified by:
nextElement in interface java.util.Enumeration

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface java.util.Enumeration


Copyright © 2001-2006