org.decisiondeck.xmcda_oo.utils.matrix
Class ConstrainedMatrix.AllValidator

java.lang.Object
  extended by 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


Constructor Summary
ConstrainedMatrix.AllValidator()
           
 
Method Summary
 ConstrainedMatrix.ValidatorType getType()
           
 boolean isValid(double value)
          Asserts that the specified value is, or is not, valid.
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConstrainedMatrix.AllValidator

public ConstrainedMatrix.AllValidator()
Method Detail

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.