Class peer_info_vector
- All Implemented Interfaces:
Iterable<peer_info>,Collection<peer_info>,List<peer_info>,RandomAccess,SequencedCollection<peer_info>
-
Field Summary
FieldsFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
ConstructorsModifierConstructorDescriptionpeer_info_vector(int count, peer_info value) protectedpeer_info_vector(long cPtr, boolean cMemoryOwn) peer_info_vector(peer_info_vector other) peer_info_vector(peer_info[] initialElements) peer_info_vector(Iterable<peer_info> initialElements) -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanintcapacity()voidclear()voiddelete()get(int index) protected static longgetCPtr(peer_info_vector obj) booleanisEmpty()remove(int index) protected voidremoveRange(int fromIndex, int toIndex) voidreserve(int n) 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
-
peer_info_vector
protected peer_info_vector(long cPtr, boolean cMemoryOwn) -
peer_info_vector
-
peer_info_vector
-
peer_info_vector
public peer_info_vector() -
peer_info_vector
-
peer_info_vector
-
-
Method Details
-
getCPtr
-
swigRelease
-
delete
public void delete() -
get
-
set
-
add
- Specified by:
addin interfaceCollection<peer_info>- Specified by:
addin interfaceList<peer_info>- Overrides:
addin classAbstractList<peer_info>
-
add
-
remove
-
removeRange
protected void removeRange(int fromIndex, int toIndex) - Overrides:
removeRangein classAbstractList<peer_info>
-
size
public int size()- Specified by:
sizein interfaceCollection<peer_info>- Specified by:
sizein interfaceList<peer_info>- Specified by:
sizein classAbstractCollection<peer_info>
-
capacity
public int capacity() -
reserve
public void reserve(int n) -
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<peer_info>- Specified by:
isEmptyin interfaceList<peer_info>- Overrides:
isEmptyin classAbstractCollection<peer_info>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<peer_info>- Specified by:
clearin interfaceList<peer_info>- Overrides:
clearin classAbstractList<peer_info>
-