public class IntVector
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
swigCMemOwn |
Modifier | Constructor and Description |
---|---|
|
IntVector() |
|
IntVector(long n) |
protected |
IntVector(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(IntVector obj) |
boolean |
isEmpty() |
void |
reserve(long n) |
void |
set(int i,
int val) |
long |
size() |
protected IntVector(long cPtr, boolean cMemoryOwn)
public IntVector()
public IntVector(long n)
protected static long getCPtr(IntVector 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)