Class piece_index_int_pair_vector
java.lang.Object
java.util.AbstractCollection<SWIGTYPE_p_std__pairT_libtorrent__piece_index_t_int_t>
java.util.AbstractList<SWIGTYPE_p_std__pairT_libtorrent__piece_index_t_int_t>
com.frostwire.jlibtorrent.swig.piece_index_int_pair_vector
- All Implemented Interfaces:
Iterable<SWIGTYPE_p_std__pairT_libtorrent__piece_index_t_int_t>,Collection<SWIGTYPE_p_std__pairT_libtorrent__piece_index_t_int_t>,List<SWIGTYPE_p_std__pairT_libtorrent__piece_index_t_int_t>,RandomAccess,SequencedCollection<SWIGTYPE_p_std__pairT_libtorrent__piece_index_t_int_t>
public class piece_index_int_pair_vector
extends AbstractList<SWIGTYPE_p_std__pairT_libtorrent__piece_index_t_int_t>
implements RandomAccess
-
Field Summary
FieldsFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedpiece_index_int_pair_vector(long cPtr, boolean cMemoryOwn) piece_index_int_pair_vector(SWIGTYPE_p_std__pairT_libtorrent__piece_index_t_int_t[] initialElements) piece_index_int_pair_vector(Iterable<SWIGTYPE_p_std__pairT_libtorrent__piece_index_t_int_t> initialElements) -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(int index, SWIGTYPE_p_std__pairT_libtorrent__piece_index_t_int_t e) booleanintcapacity()voidclear()voiddelete()get(int index) protected static longbooleanisEmpty()remove(int index) protected voidremoveRange(int fromIndex, int toIndex) voidreserve(int n) set(int index, SWIGTYPE_p_std__pairT_libtorrent__piece_index_t_int_t e) intsize()protected static longMethods inherited from class java.util.AbstractList
addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, subListMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
addAll, addFirst, addLast, contains, containsAll, getFirst, getLast, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, sort, spliterator, toArray, toArray
-
Field Details
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Constructor Details
-
piece_index_int_pair_vector
protected piece_index_int_pair_vector(long cPtr, boolean cMemoryOwn) -
piece_index_int_pair_vector
public piece_index_int_pair_vector(SWIGTYPE_p_std__pairT_libtorrent__piece_index_t_int_t[] initialElements) -
piece_index_int_pair_vector
public piece_index_int_pair_vector(Iterable<SWIGTYPE_p_std__pairT_libtorrent__piece_index_t_int_t> initialElements) -
piece_index_int_pair_vector
public piece_index_int_pair_vector() -
piece_index_int_pair_vector
-
piece_index_int_pair_vector
public piece_index_int_pair_vector(int count, SWIGTYPE_p_std__pairT_libtorrent__piece_index_t_int_t value)
-
-
Method Details
-
getCPtr
-
swigRelease
-
delete
public void delete() -
get
- Specified by:
getin interfaceList<SWIGTYPE_p_std__pairT_libtorrent__piece_index_t_int_t>- Specified by:
getin classAbstractList<SWIGTYPE_p_std__pairT_libtorrent__piece_index_t_int_t>
-
set
public SWIGTYPE_p_std__pairT_libtorrent__piece_index_t_int_t set(int index, SWIGTYPE_p_std__pairT_libtorrent__piece_index_t_int_t e) - Specified by:
setin interfaceList<SWIGTYPE_p_std__pairT_libtorrent__piece_index_t_int_t>- Overrides:
setin classAbstractList<SWIGTYPE_p_std__pairT_libtorrent__piece_index_t_int_t>
-
add
- Specified by:
addin interfaceCollection<SWIGTYPE_p_std__pairT_libtorrent__piece_index_t_int_t>- Specified by:
addin interfaceList<SWIGTYPE_p_std__pairT_libtorrent__piece_index_t_int_t>- Overrides:
addin classAbstractList<SWIGTYPE_p_std__pairT_libtorrent__piece_index_t_int_t>
-
add
- Specified by:
addin interfaceList<SWIGTYPE_p_std__pairT_libtorrent__piece_index_t_int_t>- Overrides:
addin classAbstractList<SWIGTYPE_p_std__pairT_libtorrent__piece_index_t_int_t>
-
remove
- Specified by:
removein interfaceList<SWIGTYPE_p_std__pairT_libtorrent__piece_index_t_int_t>- Overrides:
removein classAbstractList<SWIGTYPE_p_std__pairT_libtorrent__piece_index_t_int_t>
-
removeRange
protected void removeRange(int fromIndex, int toIndex) - Overrides:
removeRangein classAbstractList<SWIGTYPE_p_std__pairT_libtorrent__piece_index_t_int_t>
-
size
public int size()- Specified by:
sizein interfaceCollection<SWIGTYPE_p_std__pairT_libtorrent__piece_index_t_int_t>- Specified by:
sizein interfaceList<SWIGTYPE_p_std__pairT_libtorrent__piece_index_t_int_t>- Specified by:
sizein classAbstractCollection<SWIGTYPE_p_std__pairT_libtorrent__piece_index_t_int_t>
-
capacity
public int capacity() -
reserve
public void reserve(int n) -
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<SWIGTYPE_p_std__pairT_libtorrent__piece_index_t_int_t>- Specified by:
isEmptyin interfaceList<SWIGTYPE_p_std__pairT_libtorrent__piece_index_t_int_t>- Overrides:
isEmptyin classAbstractCollection<SWIGTYPE_p_std__pairT_libtorrent__piece_index_t_int_t>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<SWIGTYPE_p_std__pairT_libtorrent__piece_index_t_int_t>- Specified by:
clearin interfaceList<SWIGTYPE_p_std__pairT_libtorrent__piece_index_t_int_t>- Overrides:
clearin classAbstractList<SWIGTYPE_p_std__pairT_libtorrent__piece_index_t_int_t>
-