T - public static class SequenceMatcher.NamedGroupMatchReplacement<T> extends Object implements SequenceMatcher.MatchReplacement<T>
| Constructor and Description |
|---|
NamedGroupMatchReplacement(String groupName) |
| Modifier and Type | Method and Description |
|---|---|
void |
append(SequenceMatchResult<T> match,
List<T> list)
Append to replacement list the matched group with the specified group name
|
public NamedGroupMatchReplacement(String groupName)
public void append(SequenceMatchResult<T> match, List<T> list)
append in interface SequenceMatcher.MatchReplacement<T>match - Current matched sequencelist - replacement list