| Modifier and Type | Field and Description |
|---|---|
| protected boolean | ignoreCase
Ignore case when comparing? |
| protected String | pattern
The pattern. |
| private static final long |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected | StringTerm(String
the pattern pattern, boolean should we ignore case? ignoreCase)Construct a StringTerm with the given pattern and ignoreCase flag. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. |
| public boolean | Returns: true if we should ignore caseReturn true if we should ignore case when matching. |
| public String | |
| public int | |
| protected boolean |
| ignoreCase | back to summary |
|---|---|
| protected boolean ignoreCase Ignore case when comparing? | |
| pattern | back to summary |
|---|---|
| protected String pattern The pattern. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| StringTerm | back to summary |
|---|---|
| protected StringTerm(String pattern) Construct a StringTerm with the given pattern. Case will be ignored.
| |
| StringTerm | back to summary |
|---|---|
| protected StringTerm(String pattern, boolean ignoreCase) Construct a StringTerm with the given pattern and ignoreCase flag.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Equality comparison.
| |
| getIgnoreCase | back to summary |
|---|---|
| public boolean getIgnoreCase() Return true if we should ignore case when matching.
| |
| getPattern | back to summary |
|---|---|
| public String getPattern() Return the string to match with.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Compute a hashCode for this object.
| |
| match | back to summary |
|---|---|
| protected boolean match(String s) | |