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