Package org.apache.sis.math
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
,SequencedCollection<Number>
- Enclosing class:
SequenceVector
A vector which is a sequence of increasing or decreasing
float
values.-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.sis.math.SequenceVector
SequenceVector.Doubles, SequenceVector.Floats, SequenceVector.Longs
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
For cross-version compatibility.Fields inherited from class org.apache.sis.math.SequenceVector.Doubles
increment
Fields inherited from class org.apache.sis.math.SequenceVector
length, type
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) Vector
createSubSampling
(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 org.apache.sis.math.SequenceVector.Doubles
doubleValue, increment, isInteger, isNaN, range
Methods inherited from class org.apache.sis.math.SequenceVector
compress, createTransform, doubleValues, floatValues, getElementType, isEmptyOrNaN, set, size
Methods inherited from class org.apache.sis.math.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, warning
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
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, isEmpty, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, sort, spliterator, toArray, toArray
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor cross-version compatibility.- See Also:
-
-
Constructor Details
-
Floats
Creates a sequence of numbers in a given range of values using the given increment.
-
-
Method Details
-
createSubSampling
Creates a new sequence for a subrange of this vector.- Overrides:
createSubSampling
in classSequenceVector.Doubles
-
get
Computes the value at the given index. -
stringValue
Returns the string representation of the value at the given index.- Overrides:
stringValue
in 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:
-