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.
|
java.lang.String |
toString()
Returns a textual representation of a literal.
|
appendSize, index, maximumSize, minimumSize, type
public 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 Component
c
- Test against this character.true
if this component is greater than
the character c
; returns false
otherwise.public int literal()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2001 - 2024. Charles W. Rapp. All rights reserved.