Package nds2
Class vectorEpochs
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<epoch>
-
- nds2.vectorEpochs
-
- All Implemented Interfaces:
java.lang.Iterable<epoch>
,java.util.Collection<epoch>
,java.util.List<epoch>
,java.util.RandomAccess
- Direct Known Subclasses:
epochs_type
public class vectorEpochs extends java.util.AbstractList<epoch> implements java.util.RandomAccess
-
-
Constructor Summary
Constructors Modifier Constructor Description vectorEpochs()
vectorEpochs(int count, epoch value)
protected
vectorEpochs(long cPtr, boolean cMemoryOwn)
vectorEpochs(java.lang.Iterable<epoch> initialElements)
vectorEpochs(epoch[] initialElements)
vectorEpochs(vectorEpochs other)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(int index, epoch e)
boolean
add(epoch e)
long
capacity()
void
clear()
void
delete()
protected void
finalize()
epoch
get(int index)
protected static long
getCPtr(vectorEpochs obj)
boolean
isEmpty()
epoch
remove(int index)
protected void
removeRange(int fromIndex, int toIndex)
void
reserve(long n)
epoch
set(int index, epoch e)
int
size()
protected void
swigSetCMemOwn(boolean own)
-
Methods inherited from class java.util.AbstractList
addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, subList
-
-
-
-
Constructor Detail
-
vectorEpochs
protected vectorEpochs(long cPtr, boolean cMemoryOwn)
-
vectorEpochs
public vectorEpochs(epoch[] initialElements)
-
vectorEpochs
public vectorEpochs(java.lang.Iterable<epoch> initialElements)
-
vectorEpochs
public vectorEpochs()
-
vectorEpochs
public vectorEpochs(vectorEpochs other)
-
vectorEpochs
public vectorEpochs(int count, epoch value)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(vectorEpochs obj)
-
swigSetCMemOwn
protected void swigSetCMemOwn(boolean own)
-
finalize
protected void finalize()
- Overrides:
finalize
in classjava.lang.Object
-
delete
public void delete()
-
get
public epoch get(int index)
-
add
public boolean add(epoch e)
-
add
public void add(int index, epoch e)
-
remove
public epoch remove(int index)
-
removeRange
protected void removeRange(int fromIndex, int toIndex)
- Overrides:
removeRange
in classjava.util.AbstractList<epoch>
-
size
public int size()
-
capacity
public long capacity()
-
reserve
public void reserve(long n)
-
isEmpty
public boolean isEmpty()
-
-