choco.cp.model.managers
Class VariableIterator

java.lang.Object
  extended by choco.cp.model.managers.VariableIterator
All Implemented Interfaces:
Iterator<Variable>

public final class VariableIterator
extends Object
implements Iterator<Variable>

Author:
Arnaud Malapert

Field Summary
 Variable[] variables
           
 
Constructor Summary
VariableIterator(Variable[] variables)
           
 
Method Summary
protected  Iterator<Variable> getIterator(Variable v)
           
 boolean hasNext()
           
 Variable next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

variables

public final Variable[] variables
Constructor Detail

VariableIterator

public VariableIterator(Variable[] variables)
Method Detail

getIterator

protected Iterator<Variable> getIterator(Variable v)

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<Variable>

next

public Variable next()
Specified by:
next in interface Iterator<Variable>

remove

public void remove()
Specified by:
remove in interface Iterator<Variable>


Copyright © 2012. All Rights Reserved.