Package gw.util
Class RegExpMatch
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<String>
-
- gw.util.RegExpMatch
-
public class RegExpMatch extends AbstractList<String> implements List<String>
-
-
Field Summary
-
Fields inherited from class java.util.AbstractList
modCount
-
-
Constructor Summary
Constructors Constructor Description RegExpMatch(Matcher matcher)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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()
-
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
-
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
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
-
-
-
-
Constructor Detail
-
RegExpMatch
public RegExpMatch(Matcher matcher)
-
-
Method Detail
-
get
public String get(int index)
-
size
public int size()
- Specified by:
size
in interfaceCollection<String>
- Specified by:
size
in interfaceList<String>
- Specified by:
size
in classAbstractCollection<String>
-
getMatcher
public Matcher getMatcher()
-
getPattern
public Pattern getPattern()
-
getGroups
public List<String> getGroups()
Deprecated.RegExpMatch now implements List<String>, so it is no longer necessary to call getGroups()
-
toString
public String toString()
- Overrides:
toString
in classAbstractCollection<String>
-
-