- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<RelinkableQuoteHandle>
-
- org.quantlib.RelinkableQuoteHandleVector
-
- All Implemented Interfaces:
AutoCloseable,Iterable<RelinkableQuoteHandle>,Collection<RelinkableQuoteHandle>,List<RelinkableQuoteHandle>,RandomAccess,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
public class RelinkableQuoteHandleVector extends AbstractList<RelinkableQuoteHandle> implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable, RandomAccess
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanswigCMemOwn-
Fields inherited from class java.util.AbstractList
modCount
-
-
Constructor Summary
Constructors Modifier Constructor Description RelinkableQuoteHandleVector()RelinkableQuoteHandleVector(int count, RelinkableQuoteHandle value)protectedRelinkableQuoteHandleVector(long cPtr, boolean cMemoryOwn)RelinkableQuoteHandleVector(Iterable<RelinkableQuoteHandle> initialElements)RelinkableQuoteHandleVector(RelinkableQuoteHandle[] initialElements)RelinkableQuoteHandleVector(RelinkableQuoteHandleVector other)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(int index, RelinkableQuoteHandle e)booleanadd(RelinkableQuoteHandle e)longcapacity()voidclear()voiddelete()protected voidfinalize()RelinkableQuoteHandleget(int index)protected static longgetCPtr(RelinkableQuoteHandleVector obj)booleanisEmpty()RelinkableQuoteHandleremove(int index)protected voidremoveRange(int fromIndex, int toIndex)voidreserve(long n)RelinkableQuoteHandleset(int index, RelinkableQuoteHandle e)intsize()protected static longswigRelease(RelinkableQuoteHandleVector obj)-
Methods inherited from class java.util.AbstractList
addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, subList
-
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, remove, removeAll, retainAll, toArray, toArray, toString
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
addAll, contains, containsAll, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
-
-
-
Field Detail
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Constructor Detail
-
RelinkableQuoteHandleVector
protected RelinkableQuoteHandleVector(long cPtr, boolean cMemoryOwn)
-
RelinkableQuoteHandleVector
public RelinkableQuoteHandleVector(RelinkableQuoteHandle[] initialElements)
-
RelinkableQuoteHandleVector
public RelinkableQuoteHandleVector(Iterable<RelinkableQuoteHandle> initialElements)
-
RelinkableQuoteHandleVector
public RelinkableQuoteHandleVector()
-
RelinkableQuoteHandleVector
public RelinkableQuoteHandleVector(RelinkableQuoteHandleVector other)
-
RelinkableQuoteHandleVector
public RelinkableQuoteHandleVector(int count, RelinkableQuoteHandle value)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(RelinkableQuoteHandleVector obj)
-
swigRelease
protected static long swigRelease(RelinkableQuoteHandleVector obj)
-
delete
public void delete()
- Specified by:
deletein interfaceorg.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
get
public RelinkableQuoteHandle get(int index)
- Specified by:
getin interfaceList<RelinkableQuoteHandle>- Specified by:
getin classAbstractList<RelinkableQuoteHandle>
-
set
public RelinkableQuoteHandle set(int index, RelinkableQuoteHandle e)
- Specified by:
setin interfaceList<RelinkableQuoteHandle>- Overrides:
setin classAbstractList<RelinkableQuoteHandle>
-
add
public boolean add(RelinkableQuoteHandle e)
- Specified by:
addin interfaceCollection<RelinkableQuoteHandle>- Specified by:
addin interfaceList<RelinkableQuoteHandle>- Overrides:
addin classAbstractList<RelinkableQuoteHandle>
-
add
public void add(int index, RelinkableQuoteHandle e)
- Specified by:
addin interfaceList<RelinkableQuoteHandle>- Overrides:
addin classAbstractList<RelinkableQuoteHandle>
-
remove
public RelinkableQuoteHandle remove(int index)
- Specified by:
removein interfaceList<RelinkableQuoteHandle>- Overrides:
removein classAbstractList<RelinkableQuoteHandle>
-
removeRange
protected void removeRange(int fromIndex, int toIndex)
- Overrides:
removeRangein classAbstractList<RelinkableQuoteHandle>
-
size
public int size()
- Specified by:
sizein interfaceCollection<RelinkableQuoteHandle>- Specified by:
sizein interfaceList<RelinkableQuoteHandle>- Specified by:
sizein classAbstractCollection<RelinkableQuoteHandle>
-
capacity
public long capacity()
-
reserve
public void reserve(long n)
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceCollection<RelinkableQuoteHandle>- Specified by:
isEmptyin interfaceList<RelinkableQuoteHandle>- Overrides:
isEmptyin classAbstractCollection<RelinkableQuoteHandle>
-
clear
public void clear()
- Specified by:
clearin interfaceCollection<RelinkableQuoteHandle>- Specified by:
clearin interfaceList<RelinkableQuoteHandle>- Overrides:
clearin classAbstractList<RelinkableQuoteHandle>
-
-