org.decisiondeck.xmcda_oo.utils.matrix
Class ConstrainedMatrix.AllValidator
java.lang.Object
org.decisiondeck.xmcda_oo.utils.matrix.ConstrainedMatrix.AllValidator
- All Implemented Interfaces:
- ConstrainedMatrix.Validator
- Enclosing class:
- ConstrainedMatrix<RowType,ColumnType>
public static class ConstrainedMatrix.AllValidator
- extends Object
- implements ConstrainedMatrix.Validator
ConstrainedMatrix.AllValidator
public ConstrainedMatrix.AllValidator()
isValid
public boolean isValid(double value)
- Description copied from interface:
ConstrainedMatrix.Validator
- Asserts that the specified value is, or is not, valid. The behavior of this method must be deterministic: any
two calls with the same value must yield the same answer.
- Specified by:
isValid in interface ConstrainedMatrix.Validator
- Parameters:
value - the value to validate.
- Returns:
true iff the given value is valid.
toString
public String toString()
- Overrides:
toString in class Object
getType
public ConstrainedMatrix.ValidatorType getType()
- Specified by:
getType in interface ConstrainedMatrix.Validator
Copyright © 2011. All Rights Reserved.