public interface Matches extends Iterable<String>
MatchesIterator for a particular field, call getMatches(String).
Note that you can call getMatches(String) multiple times to retrieve new
iterators, but it is not thread-safe.| Modifier and Type | Method and Description |
|---|---|
MatchesIterator |
getMatches(String field)
Returns a
MatchesIterator over the matches for a single field,
or null if there are no matches in that field. |
Collection<Matches> |
getSubMatches()
Returns a collection of Matches that make up this instance; if it is not
a composite, then this returns an empty list
|
forEach, iterator, spliteratorMatchesIterator getMatches(String field) throws IOException
MatchesIterator over the matches for a single field,
or null if there are no matches in that field.IOExceptionCollection<Matches> getSubMatches()
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.