public class Vectori
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
swigCMemOwn |
Modifier | Constructor and Description |
---|---|
|
Vectori() |
|
Vectori(long n) |
protected |
Vectori(long cPtr,
boolean cMemoryOwn) |
Modifier and Type | Method and Description |
---|---|
void |
add(int x) |
long |
capacity() |
void |
clear() |
void |
delete() |
protected void |
finalize() |
int |
get(int i) |
protected static long |
getCPtr(Vectori obj) |
boolean |
isEmpty() |
void |
reserve(long n) |
void |
set(int i,
int val) |
long |
size() |
protected Vectori(long cPtr, boolean cMemoryOwn)
public Vectori()
public Vectori(long n)
protected static long getCPtr(Vectori obj)
protected void finalize()
finalize
in class java.lang.Object
public void delete()
public long size()
public long capacity()
public void reserve(long n)
public boolean isEmpty()
public void clear()
public void add(int x)
public int get(int i)
public void set(int i, int val)