- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<QuoteHandleVector>
-
- org.quantlib.QuoteHandleVectorVector
-
- All Implemented Interfaces:
AutoCloseable,Iterable<QuoteHandleVector>,Collection<QuoteHandleVector>,List<QuoteHandleVector>,RandomAccess,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
public class QuoteHandleVectorVector extends AbstractList<QuoteHandleVector> 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 QuoteHandleVectorVector()QuoteHandleVectorVector(int count, QuoteHandleVector value)protectedQuoteHandleVectorVector(long cPtr, boolean cMemoryOwn)QuoteHandleVectorVector(Iterable<QuoteHandleVector> initialElements)QuoteHandleVectorVector(QuoteHandleVector[] initialElements)QuoteHandleVectorVector(QuoteHandleVectorVector other)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(int index, QuoteHandleVector e)booleanadd(QuoteHandleVector e)longcapacity()voidclear()voiddelete()protected voidfinalize()QuoteHandleVectorget(int index)protected static longgetCPtr(QuoteHandleVectorVector obj)booleanisEmpty()QuoteHandleVectorremove(int index)protected voidremoveRange(int fromIndex, int toIndex)voidreserve(long n)QuoteHandleVectorset(int index, QuoteHandleVector e)intsize()protected static longswigRelease(QuoteHandleVectorVector 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
-
QuoteHandleVectorVector
protected QuoteHandleVectorVector(long cPtr, boolean cMemoryOwn)
-
QuoteHandleVectorVector
public QuoteHandleVectorVector(QuoteHandleVector[] initialElements)
-
QuoteHandleVectorVector
public QuoteHandleVectorVector(Iterable<QuoteHandleVector> initialElements)
-
QuoteHandleVectorVector
public QuoteHandleVectorVector()
-
QuoteHandleVectorVector
public QuoteHandleVectorVector(QuoteHandleVectorVector other)
-
QuoteHandleVectorVector
public QuoteHandleVectorVector(int count, QuoteHandleVector value)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(QuoteHandleVectorVector obj)
-
swigRelease
protected static long swigRelease(QuoteHandleVectorVector obj)
-
delete
public void delete()
- Specified by:
deletein interfaceorg.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
get
public QuoteHandleVector get(int index)
- Specified by:
getin interfaceList<QuoteHandleVector>- Specified by:
getin classAbstractList<QuoteHandleVector>
-
set
public QuoteHandleVector set(int index, QuoteHandleVector e)
- Specified by:
setin interfaceList<QuoteHandleVector>- Overrides:
setin classAbstractList<QuoteHandleVector>
-
add
public boolean add(QuoteHandleVector e)
- Specified by:
addin interfaceCollection<QuoteHandleVector>- Specified by:
addin interfaceList<QuoteHandleVector>- Overrides:
addin classAbstractList<QuoteHandleVector>
-
add
public void add(int index, QuoteHandleVector e)
- Specified by:
addin interfaceList<QuoteHandleVector>- Overrides:
addin classAbstractList<QuoteHandleVector>
-
remove
public QuoteHandleVector remove(int index)
- Specified by:
removein interfaceList<QuoteHandleVector>- Overrides:
removein classAbstractList<QuoteHandleVector>
-
removeRange
protected void removeRange(int fromIndex, int toIndex)
- Overrides:
removeRangein classAbstractList<QuoteHandleVector>
-
size
public int size()
- Specified by:
sizein interfaceCollection<QuoteHandleVector>- Specified by:
sizein interfaceList<QuoteHandleVector>- Specified by:
sizein classAbstractCollection<QuoteHandleVector>
-
capacity
public long capacity()
-
reserve
public void reserve(long n)
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceCollection<QuoteHandleVector>- Specified by:
isEmptyin interfaceList<QuoteHandleVector>- Overrides:
isEmptyin classAbstractCollection<QuoteHandleVector>
-
clear
public void clear()
- Specified by:
clearin interfaceCollection<QuoteHandleVector>- Specified by:
clearin interfaceList<QuoteHandleVector>- Overrides:
clearin classAbstractList<QuoteHandleVector>
-
-