public final class SingleChar extends CharClass
CharClass.Java, CharClass.Perl, CharClass.Posix, CharClass.Unicode
Modifier and Type | Field and Description |
---|---|
char |
character |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
fj.data.LazyString |
independentForm()
The regular expression string that can be used independently of square
brackets.
|
Negated<SingleChar> |
negated()
Returns an expressing matching a single character that is not within
the class of characters matched by this expression.
|
MultiChar |
union(MultiChar right)
Overloaded version of
CharClass.union(CharClass) for arguments
of type MultiChar that simply merges the two objects into
a single instance of MultiChar . |
MultiChar |
union(SingleChar right)
Overloaded version of
CharClass.union(CharClass) for arguments
of type SingleChar that simply merges the two objects into
a single instance of MultiChar . |
fj.data.LazyString |
unitableForm()
The regular expression string that can be used within square brackets
to merge with other character classes.
|
boundedLength, character, characters, expression, intersect, intersect, possiblyZeroLength, range, repetitionInvalidatesBounds, union, union
anyTimes, anyTimes, anyTimesPossessively, anyTimesReluctantly, atLeast, atLeast, atLeastOnce, atLeastOnce, atLeastOncePossessively, atLeastOnceReluctantly, atLeastPossessively, atLeastReluctantly, optional, optional, optionalPossessively, optionalReluctantly, repeat, repeat, repeat, repeat, repeatPossessively, repeatPossessively, repeatReluctantly, repeatReluctantly
andThen, andThen, then, then
or, or
toPattern, toString
anyTimes, anyTimes, anyTimesPossessively, anyTimesReluctantly, atLeast, atLeast, atLeastOnce, atLeastOnce, atLeastOncePossessively, atLeastOnceReluctantly, atLeastPossessively, atLeastReluctantly, optional, optional, optionalPossessively, optionalReluctantly, repeat, repeat, repeat, repeat, repeatPossessively, repeatPossessively, repeatReluctantly, repeatReluctantly
andThen, andThen, then, then
or, or
toPattern
public Negated<SingleChar> negated()
CharClass
public fj.data.LazyString unitableForm()
CharClass
public fj.data.LazyString independentForm()
CharClass
public MultiChar union(SingleChar right)
CharClass.union(CharClass)
for arguments
of type SingleChar
that simply merges the two objects into
a single instance of MultiChar
.right
- another instance of MultiChar
; must not be null
.MultiChar
.NullPointerException
- if the argument is null
.public MultiChar union(MultiChar right)
CharClass.union(CharClass)
for arguments
of type MultiChar
that simply merges the two objects into
a single instance of MultiChar
.right
- another instance of MultiChar
; must not be null
.MultiChar
.NullPointerException
- if the argument is null
.Copyright © 2014 Richard W. Eggert II. All Rights Reserved.