Uses of Interface java.util.regex.MatchResult (Java SE 10 & JDK 10 )

## Uses of Interface
java.util.regex.MatchResult

- Packages that use MatchResult
  Package | Description
  --- | ---
  java.util | Contains the collections framework, some internationalization support classes, a service loader, properties, random number generation, string parsing and scanning classes, base64 encoding and decoding, a bit array, and several miscellaneous utility classes.
  java.util.regex | Classes for matching character sequences against patterns specified by regular expressions.

- - ### Uses of MatchResult in java.util

    Methods in java.util that return MatchResult
    Modifier and Type | Method | Description
    --- | --- | ---
    `MatchResult` | Scanner.`match()` | Returns the match result of the last scanning operation performed by this scanner.

    Methods in java.util that return types with arguments of type MatchResult
    Modifier and Type | Method | Description
    --- | --- | ---
    `Stream<MatchResult>` | Scanner.`findAll​(String patString)` | Returns a stream of match results that match the provided pattern string.
    `Stream<MatchResult>` | Scanner.`findAll​(Pattern pattern)` | Returns a stream of match results from this scanner.

  - ### Uses of MatchResult in java.util.regex

    Classes in java.util.regex that implement MatchResult
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `Matcher` | An engine that performs match operations on a character sequence by interpreting a `Pattern`.

    Methods in java.util.regex that return MatchResult
    Modifier and Type | Method | Description
    --- | --- | ---
    `MatchResult` | Matcher.`toMatchResult()` | Returns the match state of this matcher as a `MatchResult`.

    Methods in java.util.regex that return types with arguments of type MatchResult
    Modifier and Type | Method | Description
    --- | --- | ---
    `Stream<MatchResult>` | Matcher.`results()` | Returns a stream of match results for each subsequence of the input sequence that matches the pattern.

    Method parameters in java.util.regex with type arguments of type MatchResult
    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | Matcher.`replaceAll​(Function<MatchResult,String> replacer)` | Replaces every subsequence of the input sequence that matches the pattern with the result of applying the given replacer function to the match result of this matcher corresponding to that subsequence.
    `String` | Matcher.`replaceFirst​(Function<MatchResult,String> replacer)` | Replaces the first subsequence of the input sequence that matches the pattern with the result of applying the given replacer function to the match result of this matcher corresponding to that subsequence.