public interface MatcherFacade
extends java.lang.Iterable<java.lang.String>
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAt(int groupIndex)
Gets the input subsequence captured by the given group during the match operation.
|
java.lang.String |
getAt(java.lang.String groupName)
Gets the input subsequence captured by the given named group during the match operation.
|
default java.util.Iterator<java.lang.String> |
iterator() |
int |
size()
Gets the number of matches.
|
default java.util.List<java.lang.String> |
toList()
Returns a list containing all capturing results.
|
int size()
@Nonnull java.lang.String getAt(int groupIndex)
groupIndex - the index of the capturing groupMatcher.group(int)@Nonnull java.lang.String getAt(java.lang.String groupName)
groupName - the name of a capturing groupMatcher.group(String)@Nonnull default java.util.List<java.lang.String> toList()
getAt(int)@Nonnull default java.util.Iterator<java.lang.String> iterator()
iterator in interface java.lang.Iterable<java.lang.String>