public class CharVector
extends java.lang.Object
implements java.lang.Iterable<java.lang.Character>
Modifier and Type | Field and Description |
---|---|
protected boolean |
swigCMemOwn |
Modifier | Constructor and Description |
---|---|
|
CharVector() |
|
CharVector(long n) |
protected |
CharVector(long cPtr,
boolean cMemoryOwn) |
Modifier and Type | Method and Description |
---|---|
void |
add(char x) |
long |
capacity() |
void |
clear() |
void |
delete() |
protected void |
finalize() |
char |
get(int i) |
protected static long |
getCPtr(CharVector obj) |
boolean |
isEmpty() |
java.util.Iterator<java.lang.Character> |
iterator() |
void |
reserve(long n) |
void |
set(int i,
char val) |
long |
size() |
java.lang.Character[] |
toArray() |
protected CharVector(long cPtr, boolean cMemoryOwn)
public CharVector()
public CharVector(long n)
protected static long getCPtr(CharVector obj)
protected void finalize()
finalize
in class java.lang.Object
public void delete()
public java.util.Iterator<java.lang.Character> iterator()
iterator
in interface java.lang.Iterable<java.lang.Character>
public java.lang.Character[] toArray()
public long size()
public long capacity()
public void reserve(long n)
public boolean isEmpty()
public void clear()
public void add(char x)
public char get(int i)
public void set(int i, char val)