public final class AnyChar 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. |
java.lang.String |
toString()
Returns a textual representation of a single character
match.
|
appendSize, index, maximumSize, minimumSize, type
public boolean lessThan(char c)
true
if this component is less than
the character c
; returns false
otherwise. Any character is always less than the specified
character if c
is not the minimally
allowed character value.public boolean equalTo(char c)
true
if this component is equal to
the character c
; returns false
otherwise.
Any character is always equal to the specified
character.public boolean greaterThan(char c)
true
if this component is greater than
the character c
; returns false
otherwise.
Any character is always greater than the specified
character if c
is not the maximally allowed
character.greaterThan
in class Component
c
- Test against this character.true
if this component is greater than
the character c
; returns false
otherwise.public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2001 - 2024. Charles W. Rapp. All rights reserved.