public final class Literal extends Component
ANY_CHAR, CHARACTER_SET, LITERAL, mIndex, mMaximumSize, mMinimumSize, mType, NO_MAX_MATCH_LIMIT| Modifier and Type | Method and Description |
|---|---|
boolean |
equalTo(char c)
Returns
true if this component is equal to
the character c; returns false otherwise. |
boolean |
greaterThan(char c)
Returns
true if this component is greater than
the character c; returns false otherwise. |
boolean |
lessThan(char c)
Returns
true if this component is less than
the character c; returns false otherwise. |
int |
literal()
Returns the literal character.
|
String |
toString()
Returns a textual representation of a literal.
|
appendSize, index, maximumSize, minimumSize, typepublic boolean lessThan(char c)
true if this component is less than
the character c; returns false otherwise.public boolean equalTo(char c)
true if this component is equal to
the character c; returns false otherwise.public boolean greaterThan(char c)
true if this component is greater than
the character c; returns false otherwise.greaterThan in class Componentc - Test against this character.true if this component is greater than
the character c; returns false otherwise.public int literal()
Copyright © 2019. All rights reserved.