Interface Distribution.ValueChecker

Enclosing class:
Distribution

public static interface Distribution.ValueChecker
This interface is used to specify a custom check method on parameter's value (for example value's range).
Author:
Bertoli Marco Date: 25-giu-2005 Time: 14.47.12
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Checks if value of this object is correct.
  • Method Details

    • checkValue

      boolean checkValue(Object value)
      Checks if value of this object is correct. Note that when this method is called, parameter's value is granted to be instance of the correct class.
      Parameters:
      value - value to be checked
      Returns:
      true iff value is correct for this distribution parameter