com.rapidminer.example
Class AttributeIterator

java.lang.Object
  extended by com.rapidminer.example.AttributeIterator
All Implemented Interfaces:
java.util.Iterator<Attribute>

public class AttributeIterator
extends java.lang.Object
implements java.util.Iterator<Attribute>

Iterates over either only the regular attribute, only the special attributes, or over all all attributes.

Author:
Ingo Mierswa

Constructor Summary
AttributeIterator(java.util.Iterator<AttributeRole> parent, int type)
           
 
Method Summary
 boolean hasNext()
           
 Attribute next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeIterator

public AttributeIterator(java.util.Iterator<AttributeRole> parent,
                         int type)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<Attribute>

next

public Attribute next()
Specified by:
next in interface java.util.Iterator<Attribute>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<Attribute>


Copyright © 2001-2009 by Rapid-I