public class Ratio extends Constant
Constructor and Description |
---|
Ratio()
Creates a new Ratio instance, which checks only the restrictions defined on itself.
|
Ratio(CheckRule cr)
Creates a new Ratio instance, which wraps cr as stated
by Decorator pattern.
|
checkRule, getCauses, getCausesString, initCauses, initializedCauses
public Ratio()
public Ratio(CheckRule cr)
cr
- the CheckRule instance to be wrapped