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