public class RegExpMatch extends AbstractList<String> implements List<String>
modCount
Constructor and Description |
---|
RegExpMatch(Matcher matcher) |
Modifier and Type | Method and Description |
---|---|
String |
get(int index) |
List<String> |
getGroups()
Deprecated.
RegExpMatch now implements List<String>, so it is
no longer necessary to call getGroups()
|
Matcher |
getMatcher() |
Pattern |
getPattern() |
int |
size() |
String |
toString() |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
add, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
public RegExpMatch(Matcher matcher)
public String get(int index)
public int size()
size
in interface Collection<String>
size
in interface List<String>
size
in class AbstractCollection<String>
public Matcher getMatcher()
public Pattern getPattern()
public List<String> getGroups()
public String toString()
toString
in class AbstractCollection<String>
Copyright © 2024. All rights reserved.