@Immutable protected class TokenStream.CaseInsensitiveToken extends TokenStream.CaseSensitiveToken
TokenStream.Token that implements matching using case-insensitive logic.| 构造器和说明 |
|---|
CaseInsensitiveToken(int startIndex,
int endIndex,
int type,
Position position) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
matches(String expected)
Determine if the token matches the supplied string.
|
TokenStream.Token |
withType(int typeMask)
Bitmask ORed with existing type value.
|
endIndex, length, matches, matches, matchString, position, startIndex, toString, type, valueclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitmatchespublic CaseInsensitiveToken(int startIndex,
int endIndex,
int type,
Position position)
public boolean matches(String expected)
TokenStream.Tokenmatches 在接口中 TokenStream.Tokenmatches 在类中 TokenStream.CaseSensitiveTokenexpected - the expected valuepublic TokenStream.Token withType(int typeMask)
TokenStream.TokenwithType 在接口中 TokenStream.TokenwithType 在类中 TokenStream.CaseSensitiveTokentypeMask - the mask of typesCopyright © 2025 The Apache Software Foundation. All rights reserved.