Class IfZero

  • All Implemented Interfaces:
    If<Number,​Object>

    public class IfZero
    extends ValueIf<Number>

    Simple If condition that returns true if the value is a numeric zero. Note that a null value still returns false.

    Author:
    Jeff Schnitzer
    • Constructor Detail

      • IfZero

        public IfZero()
    • Method Detail

      • matchesValue

        public boolean matchesValue​(Number value)
        Description copied from interface: If
        Test a simple property value.
        Parameters:
        value - is the actual value of a particular field
        Returns:
        true if the value matches the condition defined by an instance of this interface.