char* or wchar_t* type
by managing allocation/disposal of native strings within an array of
pointers. An extra NULL pointer is always added to the end of the native
pointer array for convenience.
| Modifier and Type | Field and Description |
|---|---|
| private List | |
| private Object[] | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| natives | back to summary |
|---|---|
| private List<E> natives | |
| original | back to summary |
|---|---|
| private Object[] original | |
| wide | back to summary |
|---|---|
| private boolean wide | |
| StringArray | back to summary |
|---|---|
| public StringArray(String[] strings) Create a native array of strings. | |
| StringArray | back to summary |
|---|---|
| public StringArray(String[] strings, boolean wide) Create a native array of wide strings. | |
| StringArray | back to summary |
|---|---|
| public StringArray(WString[] strings) Create a native array of wide strings. | |
| StringArray | back to summary |
|---|---|
| private StringArray(Object[] strings, boolean wide) | |
| read | back to summary |
|---|---|
| public void read() Read back from native memory. | |