Package org.dashj.bls
Class Uint8VectorVector
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<Uint8Vector>
-
- org.dashj.bls.Uint8VectorVector
-
- All Implemented Interfaces:
Iterable<Uint8Vector>,Collection<Uint8Vector>,List<Uint8Vector>,RandomAccess
- Direct Known Subclasses:
ByteVectorList
public class Uint8VectorVector extends AbstractList<Uint8Vector> implements 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 Uint8VectorVector()Uint8VectorVector(int count, Uint8Vector value)protectedUint8VectorVector(long cPtr, boolean cMemoryOwn)Uint8VectorVector(Iterable<Uint8Vector> initialElements)Uint8VectorVector(Uint8Vector[] initialElements)Uint8VectorVector(Uint8VectorVector other)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(int index, Uint8Vector e)booleanadd(Uint8Vector e)intcapacity()voidclear()voiddelete()protected voidfinalize()Uint8Vectorget(int index)protected static longgetCPtr(Uint8VectorVector obj)booleanisEmpty()Uint8Vectorremove(int index)protected voidremoveRange(int fromIndex, int toIndex)voidreserve(int n)Uint8Vectorset(int index, Uint8Vector e)intsize()-
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
-
-
-
-
Constructor Detail
-
Uint8VectorVector
protected Uint8VectorVector(long cPtr, boolean cMemoryOwn)
-
Uint8VectorVector
public Uint8VectorVector(Uint8Vector[] initialElements)
-
Uint8VectorVector
public Uint8VectorVector(Iterable<Uint8Vector> initialElements)
-
Uint8VectorVector
public Uint8VectorVector()
-
Uint8VectorVector
public Uint8VectorVector(Uint8VectorVector other)
-
Uint8VectorVector
public Uint8VectorVector(int count, Uint8Vector value)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(Uint8VectorVector obj)
-
delete
public void delete()
-
get
public Uint8Vector get(int index)
- Specified by:
getin interfaceList<Uint8Vector>- Specified by:
getin classAbstractList<Uint8Vector>
-
set
public Uint8Vector set(int index, Uint8Vector e)
- Specified by:
setin interfaceList<Uint8Vector>- Overrides:
setin classAbstractList<Uint8Vector>
-
add
public boolean add(Uint8Vector e)
- Specified by:
addin interfaceCollection<Uint8Vector>- Specified by:
addin interfaceList<Uint8Vector>- Overrides:
addin classAbstractList<Uint8Vector>
-
add
public void add(int index, Uint8Vector e)- Specified by:
addin interfaceList<Uint8Vector>- Overrides:
addin classAbstractList<Uint8Vector>
-
remove
public Uint8Vector remove(int index)
- Specified by:
removein interfaceList<Uint8Vector>- Overrides:
removein classAbstractList<Uint8Vector>
-
removeRange
protected void removeRange(int fromIndex, int toIndex)- Overrides:
removeRangein classAbstractList<Uint8Vector>
-
size
public int size()
- Specified by:
sizein interfaceCollection<Uint8Vector>- Specified by:
sizein interfaceList<Uint8Vector>- Specified by:
sizein classAbstractCollection<Uint8Vector>
-
capacity
public int capacity()
-
reserve
public void reserve(int n)
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceCollection<Uint8Vector>- Specified by:
isEmptyin interfaceList<Uint8Vector>- Overrides:
isEmptyin classAbstractCollection<Uint8Vector>
-
clear
public void clear()
- Specified by:
clearin interfaceCollection<Uint8Vector>- Specified by:
clearin interfaceList<Uint8Vector>- Overrides:
clearin classAbstractList<Uint8Vector>
-
-