Class BooleanGroup

    • Constructor Detail

      • BooleanGroup

        public BooleanGroup()
        Constructs an IntegerGroup that parses Strings that match the INTEGER pattern in base 10.
        See Also:
    • Method Detail

      • getBoolean

        public boolean getBoolean​(Matcher matcher,
                                  boolean defaultValue)
        Gets a boolean by parsing the String matched by this capturing group.
        matcher - The matcher
        defaultValue - The default value to use if this group is omitted because it is optional
        The parsed int value