|
Building Parsers with Java | ||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Packages that use StringFunction | |
| sjm.examples.string | |
| Uses of StringFunction in sjm.examples.string |
| Subclasses of StringFunction in sjm.examples.string | |
class |
Identity
An Identity function returns the input string unchanged, in response to the f() method. |
class |
LowerCase
This class wraps a toLowerCase function
around an instance of another StringFunction
class. |
class |
Substring
This class wraps a substring function around
an instance of another StringFunction class. |
class |
Trim
This class wraps a trim function around an
instance of another StringFunction class. |
class |
UpperCase
This class wraps a toUpperCase function
around an instance of another StringFunction
class. |
| Fields in sjm.examples.string declared as StringFunction | |
protected StringFunction |
StringFunction.source
|
| Constructors in sjm.examples.string with parameters of type StringFunction | |
StringFunction.StringFunction(StringFunction source)
Construct a function whose source is the given function. |
|
Substring.Substring(StringFunction source,
int from)
Construct a Substring function that will
wrap itself around the supplied source, returning the
portion of a string from the given index to the string's
end. |
|
Substring.Substring(StringFunction source,
int from,
int to)
Construct a Substring function that will
wrap itself around the supplied source, returning the
portion of a string from the given from
index to the given to index. |
|
Trim.Trim(StringFunction source)
Construct a Trim function that will
wrap itself around the supplied source. |
|
UpperCase.UpperCase(StringFunction source)
Construct an UpperCase function that will
wrap itself around the supplied source. |
|
LowerCase.LowerCase(StringFunction source)
Construct a LowerCase function that will
wrap itself around the supplied source. |
|
|
by Steve Metsker | ||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||