Class sha1_hash_udp_endpoint_pair_vector
java.lang.Object
java.util.AbstractCollection<sha1_hash_udp_endpoint_pair>
java.util.AbstractList<sha1_hash_udp_endpoint_pair>
com.frostwire.jlibtorrent.swig.sha1_hash_udp_endpoint_pair_vector
- All Implemented Interfaces:
Iterable<sha1_hash_udp_endpoint_pair>,Collection<sha1_hash_udp_endpoint_pair>,List<sha1_hash_udp_endpoint_pair>,RandomAccess,SequencedCollection<sha1_hash_udp_endpoint_pair>
public class sha1_hash_udp_endpoint_pair_vector
extends AbstractList<sha1_hash_udp_endpoint_pair>
implements RandomAccess
-
Field Summary
FieldsFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
ConstructorsModifierConstructorDescriptionsha1_hash_udp_endpoint_pair_vector(int count, sha1_hash_udp_endpoint_pair value) protectedsha1_hash_udp_endpoint_pair_vector(long cPtr, boolean cMemoryOwn) sha1_hash_udp_endpoint_pair_vector(sha1_hash_udp_endpoint_pair[] initialElements) sha1_hash_udp_endpoint_pair_vector(Iterable<sha1_hash_udp_endpoint_pair> initialElements) -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(int index, sha1_hash_udp_endpoint_pair 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, sha1_hash_udp_endpoint_pair 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
-
sha1_hash_udp_endpoint_pair_vector
protected sha1_hash_udp_endpoint_pair_vector(long cPtr, boolean cMemoryOwn) -
sha1_hash_udp_endpoint_pair_vector
-
sha1_hash_udp_endpoint_pair_vector
-
sha1_hash_udp_endpoint_pair_vector
public sha1_hash_udp_endpoint_pair_vector() -
sha1_hash_udp_endpoint_pair_vector
-
sha1_hash_udp_endpoint_pair_vector
-
-
Method Details
-
getCPtr
-
swigRelease
-
delete
public void delete() -
get
- Specified by:
getin interfaceList<sha1_hash_udp_endpoint_pair>- Specified by:
getin classAbstractList<sha1_hash_udp_endpoint_pair>
-
set
- Specified by:
setin interfaceList<sha1_hash_udp_endpoint_pair>- Overrides:
setin classAbstractList<sha1_hash_udp_endpoint_pair>
-
add
- Specified by:
addin interfaceCollection<sha1_hash_udp_endpoint_pair>- Specified by:
addin interfaceList<sha1_hash_udp_endpoint_pair>- Overrides:
addin classAbstractList<sha1_hash_udp_endpoint_pair>
-
add
- Specified by:
addin interfaceList<sha1_hash_udp_endpoint_pair>- Overrides:
addin classAbstractList<sha1_hash_udp_endpoint_pair>
-
remove
- Specified by:
removein interfaceList<sha1_hash_udp_endpoint_pair>- Overrides:
removein classAbstractList<sha1_hash_udp_endpoint_pair>
-
removeRange
protected void removeRange(int fromIndex, int toIndex) - Overrides:
removeRangein classAbstractList<sha1_hash_udp_endpoint_pair>
-
size
public int size()- Specified by:
sizein interfaceCollection<sha1_hash_udp_endpoint_pair>- Specified by:
sizein interfaceList<sha1_hash_udp_endpoint_pair>- Specified by:
sizein classAbstractCollection<sha1_hash_udp_endpoint_pair>
-
capacity
public int capacity() -
reserve
public void reserve(int n) -
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<sha1_hash_udp_endpoint_pair>- Specified by:
isEmptyin interfaceList<sha1_hash_udp_endpoint_pair>- Overrides:
isEmptyin classAbstractCollection<sha1_hash_udp_endpoint_pair>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<sha1_hash_udp_endpoint_pair>- Specified by:
clearin interfaceList<sha1_hash_udp_endpoint_pair>- Overrides:
clearin classAbstractList<sha1_hash_udp_endpoint_pair>
-