public class BaseFloatVec extends AbstractList<Float> implements FloatVec
Modifier and Type | Field and Description |
---|---|
private float[] |
vec |
modCount
Modifier | Constructor and Description |
---|---|
protected |
BaseFloatVec() |
|
BaseFloatVec(float[] vec) |
Modifier and Type | Method and Description |
---|---|
Float |
get(int index) |
protected void |
setVec(float[] vec) |
int |
size() |
float[] |
toFloatArray() |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
public BaseFloatVec(float[] vec)
protected BaseFloatVec()
protected void setVec(float[] vec)
public Float get(int index)
public int size()
size
in interface Collection<Float>
size
in interface List<Float>
size
in class AbstractCollection<Float>
public float[] toFloatArray()
toFloatArray
in interface FloatVec
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.