Interface IPropCnrIntegerSettings<INTEGER_OPTION extends IPropCnrInteger>

    • Method Detail

      • get

        default double get​(INTEGER_OPTION option)
        Gets a number option.
        Parameters:
        option - The option to retrieve.
        Returns:
        The option value set, or its default value if not set.
      • set

        default boolean set​(INTEGER_OPTION option,
                            int value)
                     throws PropValidateException
        Sets a number option.
        Parameters:
        option - The option to set.
        value - The number value to set.
        Returns:
        true if the value was changed, false for no change.
        Throws:
        PropValidateException - If the value doesn't validate.