com.rapidminer.example
Class AttributeRoleIterator

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

public class AttributeRoleIterator
extends java.lang.Object
implements java.util.Iterator<AttributeRole>

An iterator for attribute roles which is able to iterate over all attributes or skip either regular or special attributes.

Author:
Ingo Mierswa

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

Constructor Detail

AttributeRoleIterator

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

hasNext

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

next

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

remove

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


Copyright © 2001-2009 by Rapid-I