public class Cyclic<V extends Variable> extends Object implements VariableSelector<V>
Modifier and Type | Field and Description |
---|---|
protected int |
current |
Constructor and Description |
---|
Cyclic() |
Modifier and Type | Method and Description |
---|---|
V |
getVariable(V[] vars)
Provides access to the current selected variable among
variables . |
public V getVariable(V[] vars)
VariableSelector
variables
.
If there is no variable left, return null
.getVariable
in interface VariableSelector<V extends Variable>
null
otherwise.Copyright © 2018. All rights reserved.