public interface RangeIterator
Parameter or ParameterSet that can have
multiple values at the same time. This includes methods to loop over all
values while preserving the expected behaviour of the methods defined in
Parameter respectively ParameterSet.| Modifier and Type | Method and Description |
|---|---|
int |
getNumberOfValues()
Returns the number of values in the collection.
|
boolean |
isRanged()
Returns
true if this RangeIterator is ranging over a
set of values. |
boolean |
next()
Switches to the next value in the collection of values in the specified
range.
|
void |
resetToFirst()
Resets the current value in the collection to the first value.
|
String |
valuesToString()
Returns a
String representation of the set of values. |
boolean next()
throws ParameterException
true if the next element exists, false
otherwiseParameterException - if the next value could not be fetchedvoid resetToFirst()
int getNumberOfValues()
String valuesToString()
String representation of the set of values.String representationboolean isRanged()
true if this RangeIterator is ranging over a
set of values.true if this RangeIterator is ranging over a
set of values, false otherwise