Package nds2
Class vectorSegment
- All Implemented Interfaces:
Iterable<segment>,Collection<segment>,List<segment>,RandomAccess
- Direct Known Subclasses:
segment_list_type
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
ConstructorsModifierConstructorDescriptionvectorSegment(int count, segment value) protectedvectorSegment(long cPtr, boolean cMemoryOwn) vectorSegment(Iterable<segment> initialElements) vectorSegment(segment[] initialElements) vectorSegment(vectorSegment other) -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanlongcapacity()voidclear()voiddelete()protected voidfinalize()get(int index) protected static longgetCPtr(vectorSegment obj) booleanisEmpty()remove(int index) protected voidremoveRange(int fromIndex, int toIndex) voidreserve(long n) intsize()protected voidswigSetCMemOwn(boolean own) Methods 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 interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
addAll, contains, containsAll, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
Constructor Details
-
vectorSegment
protected vectorSegment(long cPtr, boolean cMemoryOwn) -
vectorSegment
-
vectorSegment
-
vectorSegment
public vectorSegment() -
vectorSegment
-
vectorSegment
-
-
Method Details
-
getCPtr
-
swigSetCMemOwn
protected void swigSetCMemOwn(boolean own) -
finalize
protected void finalize() -
delete
public void delete() -
get
-
set
-
add
- Specified by:
addin interfaceCollection<segment>- Specified by:
addin interfaceList<segment>- Overrides:
addin classAbstractList<segment>
-
add
-
remove
-
removeRange
protected void removeRange(int fromIndex, int toIndex) - Overrides:
removeRangein classAbstractList<segment>
-
size
public int size()- Specified by:
sizein interfaceCollection<segment>- Specified by:
sizein interfaceList<segment>- Specified by:
sizein classAbstractCollection<segment>
-
capacity
public long capacity() -
reserve
public void reserve(long n) -
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<segment>- Specified by:
isEmptyin interfaceList<segment>- Overrides:
isEmptyin classAbstractCollection<segment>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<segment>- Specified by:
clearin interfaceList<segment>- Overrides:
clearin classAbstractList<segment>
-