Package org.itk.simple
Class VectorFloat
- All Implemented Interfaces:
Iterable<Float>
,Collection<Float>
,List<Float>
,RandomAccess
,SequencedCollection<Float>
-
Field Summary
FieldsFields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
ConstructorsModifierConstructorDescriptionVectorFloat
(float[] initialElements) VectorFloat
(int count, float value) protected
VectorFloat
(long cPtr, boolean cMemoryOwn) VectorFloat
(Iterable<Float> initialElements) VectorFloat
(VectorFloat other) -
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
long
capacity()
void
clear()
void
delete()
protected void
finalize()
get
(int index) protected static long
getCPtr
(VectorFloat obj) boolean
isEmpty()
remove
(int index) protected void
removeRange
(int fromIndex, int toIndex) void
reserve
(long n) int
size()
protected static long
swigRelease
(VectorFloat obj) 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, 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
-
VectorFloat
protected VectorFloat(long cPtr, boolean cMemoryOwn) -
VectorFloat
public VectorFloat(float[] initialElements) -
VectorFloat
-
VectorFloat
public VectorFloat() -
VectorFloat
-
VectorFloat
public VectorFloat(int count, float value)
-
-
Method Details
-
getCPtr
-
swigRelease
-
finalize
protected void finalize() -
delete
public void delete() -
get
-
set
-
add
- Specified by:
add
in interfaceCollection<Float>
- Specified by:
add
in interfaceList<Float>
- Overrides:
add
in classAbstractList<Float>
-
add
-
remove
-
removeRange
protected void removeRange(int fromIndex, int toIndex) - Overrides:
removeRange
in classAbstractList<Float>
-
size
public int size()- Specified by:
size
in interfaceCollection<Float>
- Specified by:
size
in interfaceList<Float>
- Specified by:
size
in classAbstractCollection<Float>
-
capacity
public long capacity() -
reserve
public void reserve(long n) -
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceCollection<Float>
- Specified by:
isEmpty
in interfaceList<Float>
- Overrides:
isEmpty
in classAbstractCollection<Float>
-
clear
public void clear()- Specified by:
clear
in interfaceCollection<Float>
- Specified by:
clear
in interfaceList<Float>
- Overrides:
clear
in classAbstractList<Float>
-