|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DiscreteParameterConstraint<E>
Title: DiscreteParameterConstraintAPI
Description: This interface must be implemented by all parameters that wish to restrict allowed values to a definite set. These values are typically presented in a GUI with a picklist.
| Method Summary | |
|---|---|
List<E> |
getAllowedValues()
Returns cloned vector of allowed values, unable to modify original values. |
ListIterator<E> |
listIterator()
Returns Iterator over allowed values, able to modify original. |
int |
size()
Returns the number of allowed values in the list |
| Methods inherited from interface org.opensha.commons.param.constraint.ParameterConstraint |
|---|
clone, getName, isAllowed, isEditable, isNullAllowed, setName, setNonEditable, setNullAllowed |
| Method Detail |
|---|
List<E> getAllowedValues()
ListIterator<E> listIterator()
int size()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||