Class VectorSRef
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<SRef>
-
- org.sosy_lab.java_smt.solvers.opensmt.api.VectorSRef
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanswigCMemOwn
-
Constructor Summary
Constructors Modifier Constructor Description VectorSRef()VectorSRef(int count, SRef value)protectedVectorSRef(long cPtr, boolean cMemoryOwn)VectorSRef(java.lang.Iterable<SRef> initialElements)VectorSRef(SRef[] initialElements)VectorSRef(VectorSRef other)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(int index, SRef e)booleanadd(SRef e)longcapacity()voidclear()voiddelete()protected voidfinalize()SRefget(int index)protected static longgetCPtr(VectorSRef obj)booleanisEmpty()SRefremove(int index)protected voidremoveRange(int fromIndex, int toIndex)voidreserve(long n)SRefset(int index, SRef e)intsize()protected static longswigRelease(VectorSRef obj)-
Methods inherited from class java.util.AbstractList
addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, subList
-
-
-
-
Constructor Detail
-
VectorSRef
protected VectorSRef(long cPtr, boolean cMemoryOwn)
-
VectorSRef
public VectorSRef(SRef[] initialElements)
-
VectorSRef
public VectorSRef(java.lang.Iterable<SRef> initialElements)
-
VectorSRef
public VectorSRef()
-
VectorSRef
public VectorSRef(VectorSRef other)
-
VectorSRef
public VectorSRef(int count, SRef value)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(VectorSRef obj)
-
swigRelease
protected static long swigRelease(VectorSRef obj)
-
finalize
protected void finalize()
- Overrides:
finalizein classjava.lang.Object
-
delete
public void delete()
-
get
public SRef get(int index)
-
add
public boolean add(SRef e)
-
add
public void add(int index, SRef e)
-
remove
public SRef remove(int index)
-
removeRange
protected void removeRange(int fromIndex, int toIndex)- Overrides:
removeRangein classjava.util.AbstractList<SRef>
-
size
public int size()
-
capacity
public long capacity()
-
reserve
public void reserve(long n)
-
isEmpty
public boolean isEmpty()
-
-