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, addAll, chop, clear, ensureCapacity, equals, get, getArray, remove, remove, resize, set, size, toArray, trimToSize
getVersion, notifyModified
public VertexIndexArray()
public VertexIndexArray(int cap)
public VertexIndexArray(int... vals)
public VertexIndexArray slice(int start, int size)
slice
in class DynamicIntArray
start
- starting index to copysize
- number of elementspublic void dispose()
public boolean isDisposed()
DisposeObservable
isDisposed
in interface DisposeObservable
public DisposeObserver getDisposeObserver()
DisposeObservable
getDisposeObserver
in interface DisposeObservable
public VertexIndexArray clone()
DynamicIntArray
clone
in class DynamicIntArray