TernarySearchTree.See: Description
| Class | Description |
|---|---|
| AnyChar |
This regular expression component matches any character.
|
| CharacterSet |
This regular expression component matches only those
characters listed in its set.
|
| Component |
Abstract base class for all regular expression components.
|
| Literal |
This regular expression component matches one character.
|
| Pattern |
A compiled regular expression representation.
|
| RegexLexerContext |
TernarySearchTree.
A Pattern may be used
with the ternary search tree (TST) methods keySet,
values and entrySet. Only those entries which
match the pattern are returned.
Warning: Pattern matching over a TST may result in
significant CPU usage. A pattern with wildcards first
(example: ".+xyz") will traverse the entire TST. If you must
use such patterns but you do not need to find all matching
entries, then consider using the maxMatches
parameter. Once the specified number of matches are found,
the method stops the search and returns.
If you need to perform regular expression pattern matching
on text only, then use the java.util.regex package.
Do not use this package for text matching only.
If you do use pattern matching, then best to use patterns that begin with concrete values and place wildcards at the end.
Copyright © 2019. All rights reserved.