public class VertexIndexArray extends DynamicIntArray implements DisposeObservable
DEFAULT_INITIAL_CAPACITY| Constructor and Description |
|---|
VertexIndexArray() |
VertexIndexArray(int... vals) |
VertexIndexArray(int cap) |
| Modifier and Type | Method and Description |
|---|---|
VertexIndexArray |
clone()
Creates a shallow copy
|
void |
dispose() |
DisposeObserver |
getDisposeObserver()
Return an "observer" object that tracks the dispose status
of this object.
|
boolean |
isDisposed()
Whether or not the current object is disposed
|
VertexIndexArray |
slice(int start,
int size)
Returns a copy of a portion of the array
|
add, addAll, chop, clear, ensureCapacity, get, getArray, remove, remove, resize, set, size, trimToSizegetVersion, notifyModifiedpublic VertexIndexArray()
public VertexIndexArray(int cap)
public VertexIndexArray(int... vals)
public VertexIndexArray slice(int start, int size)
slice in class DynamicIntArraystart - starting index to copysize - number of elementspublic void dispose()
public boolean isDisposed()
DisposeObservableisDisposed in interface DisposeObservablepublic DisposeObserver getDisposeObserver()
DisposeObservablegetDisposeObserver in interface DisposeObservablepublic VertexIndexArray clone()
DynamicIntArrayclone in class DynamicIntArray