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)protectedvectorEpochs(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 voidadd(int index, epoch e)booleanadd(epoch e)longcapacity()voidclear()voiddelete()protected voidfinalize()epochget(int index)protected static longgetCPtr(vectorEpochs obj)booleanisEmpty()epochremove(int index)protected voidremoveRange(int fromIndex, int toIndex)voidreserve(long n)epochset(int index, epoch e)intsize()protected voidswigSetCMemOwn(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:
finalizein 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:
removeRangein classjava.util.AbstractList<epoch>
-
size
public int size()
-
capacity
public long capacity()
-
reserve
public void reserve(long n)
-
isEmpty
public boolean isEmpty()
-
-