|
|||||||||
| Home >> All >> org >> apache >> oro >> text >> [ regex overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.oro.text.regex
Class CharStringPointer

java.lang.Objectorg.apache.oro.text.regex.CharStringPointer
- final class CharStringPointer
- extends java.lang.Object
The CharStringPointer class is used to facilitate traversal of a char[] in the manner pointer traversals of strings are performed in C/C++. It is expected that the compiler will inline all the functions.
- Since:
- 1.0
- Version:
- @version@
| Field Summary | |
(package private) char[] |
_array
|
(package private) static char |
_END_OF_STRING
|
(package private) int |
_offset
|
| Constructor Summary | |
(package private) |
CharStringPointer(char[] charArray)
|
(package private) |
CharStringPointer(char[] charArray,
int offset)
|
| Method Summary | |
(package private) char |
_decrement()
|
(package private) char |
_decrement(int inc)
|
(package private) int |
_getLength()
|
(package private) int |
_getOffset()
|
(package private) char |
_getValue()
|
(package private) char |
_getValue(int offset)
|
(package private) char |
_getValueRelative(int offset)
|
(package private) char |
_increment()
|
(package private) char |
_increment(int inc)
|
(package private) boolean |
_isAtEnd()
|
(package private) char |
_postDecrement()
|
(package private) char |
_postIncrement()
|
(package private) void |
_setOffset(int offset)
|
(package private) java.lang.String |
_toString(int offset)
|
java.lang.String |
toString()
Convert this Object to a human-readable String. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
_END_OF_STRING
static final char _END_OF_STRING
- See Also:
- Constant Field Values
_offset
int _offset
_array
char[] _array
| Constructor Detail |
CharStringPointer
CharStringPointer(char[] charArray,
int offset)
CharStringPointer
CharStringPointer(char[] charArray)
| Method Detail |
_getValue
char _getValue()
_getValue
char _getValue(int offset)
_getValueRelative
char _getValueRelative(int offset)
_getLength
int _getLength()
_getOffset
int _getOffset()
_setOffset
void _setOffset(int offset)
_isAtEnd
boolean _isAtEnd()
_increment
char _increment(int inc)
_increment
char _increment()
_decrement
char _decrement(int inc)
_decrement
char _decrement()
_postIncrement
char _postIncrement()
_postDecrement
char _postDecrement()
_toString
java.lang.String _toString(int offset)
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object - Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string concatenation with this object. If the result is
null, string concatenation will instead use"null".The default implementation returns
getClass().getName() + "@" + Integer.toHexString(hashCode()).
|
|||||||||
| Home >> All >> org >> apache >> oro >> text >> [ regex overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.apache.oro.text.regex.CharStringPointer