|
JNIpp 1.0
JNI meets C++
|
Wrapper for java.lang.CharSequence.
More...
Public Member Functions | |
| CharSequence (const jni::LObject &charSequence) | |
Wraps charSequence. | |
| jchar | CharAt (jint index) const |
Returns character at index. | |
| jint | GetLength () const |
| Returns length. | |
| PCharSequence | GetSubSequence (jint start, jint end) const |
| Returns sub-sequence. | |
Protected Member Functions | |
| CharSequence (const jni::LObject &, jfieldID) | |
| Constructs live object. | |
Wrapper for java.lang.CharSequence.
Note that while CharSequence represents interface its methods are not virtual. That is because they are virtual at the Java side, so calling GetLength() on a CharSequence will indirectly call implementation from the most derived class.