public final class AnyChar extends Component
_index, _maximumSize, _minimumSize, _type, ANY_CHAR, CHARACTER_SET, LITERAL, 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. |
String |
toString()
Returns a textual representation of a single character
match.
|
appendSize, index, maximumSize, minimumSize, typepublic 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 Componentc - Test against this character.true if this component is greater than
the character c; returns false otherwise.Copyright © 2019. All rights reserved.