Class FloatingPointGroup

    • Method Detail

      • getFloat

        public float getFloat​(Matcher matcher)
        Parameters:
        matcher - The matcher
        Returns:
        The value
      • getFloat

        public float getFloat​(Matcher matcher,
                              float defaultValue)
        Gets float by parsing the String matched by this capturing group.
        Parameters:
        matcher - The matcher
        defaultValue - The default value to use if this group is omitted because it is optional
        Returns:
        The parsed value
      • getDouble

        public double getDouble​(Matcher matcher)
        Parameters:
        matcher - The matcher
        Returns:
        The value
      • getDouble

        public double getDouble​(Matcher matcher,
                                double defaultValue)
        Gets double by parsing the String matched by this capturing group.
        Parameters:
        matcher - The matcher
        defaultValue - The default value to use if this group is omitted because it is optional
        Returns:
        The parsed value