Class SequenceVector.Floats
java.lang.Object
java.util.AbstractCollection<Number>
java.util.AbstractList<Number>
org.apache.sis.math.Vector
org.apache.sis.math.SequenceVector
org.apache.sis.math.SequenceVector.Doubles
org.apache.sis.math.SequenceVector.Floats
- All Implemented Interfaces:
Serializable, Iterable<Number>, Collection<Number>, List<Number>, RandomAccess
- Enclosing class:
SequenceVector
A vector which is a sequence of increasing or decreasing
float values.- Since:
- 0.8
- Version:
- 1.1
-
Nested Class Summary
Nested classes/interfaces inherited from class SequenceVector
SequenceVector.Doubles, SequenceVector.Floats, SequenceVector.Longs -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longFor cross-version compatibility.Fields inherited from class SequenceVector.Doubles
incrementFields inherited from class SequenceVector
length, typeFields inherited from class AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) VectorcreateSubSampling(int offset, int step, int n) Creates a new sequence for a subrange of this vector.get(int index) Computes the value at the given index.stringValue(int index) Returns the string representation of the value at the given index.Methods inherited from class SequenceVector.Doubles
doubleValue, increment, isInteger, isNaN, rangeMethods inherited from class SequenceVector
compress, createTransform, doubleValues, floatValues, getElementType, isEmptyOrNaN, set, sizeMethods inherited from class Vector
backingVector, buffer, byteValue, concatenate, copy, create, create, createConcatenate, createForDecimal, createSequence, createSequence, equals, equals, fill, floatValue, hashCode, indexOf, intValue, isSinglePrecision, isUnsigned, longValue, pick, range, repeat, repetitions, reverse, shortValue, subList, subSampling, subtract, toBacking, toString, transform, warningMethods inherited from class AbstractList
add, add, addAll, clear, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRangeMethods inherited from class AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArrayMethods inherited from interface Collection
parallelStream, removeIf, streamMethods inherited from interface List
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor cross-version compatibility.- See Also:
-
-
Constructor Details
-
Floats
-
-
Method Details
-
createSubSampling
Creates a new sequence for a subrange of this vector.- Overrides:
createSubSamplingin classSequenceVector.Doubles
-
get
-
stringValue
Returns the string representation of the value at the given index.- Overrides:
stringValuein classSequenceVector.Doubles- Parameters:
index- the index in the [0 … size-1] range.- Returns:
- a string representation of the value at the given index (may be
null). - See Also:
-