Windowed Float List
Represents a list of windows as a list of InPlaceFloatSubList created from a source FloatList. Each window is a view into the original list. Changes in the original list will be reflected in the windows.
Parameters
The original FloatList.
The desired size of each window. Must be greater than 0.
The step size between consecutive windows. Defaults to 1.
Whether or not to include partial windows at the end of the list if any. Defaults to false.
Throws
if windowSize or stepSize is less than or equal to 0
Properties
Functions
Splits this list into a list of InPlaceSubList each not exceeding the given chunkSize. The last list may have less elements than the given chunkSize.
Iterates through the windows and performs the given action on each window.
Iterates through the windows with their indices and performs the given action on each window.
Returns a DoubleList containing only elements matching the given predicate.
Returns a FloatList containing only elements matching the given predicate.
Returns a IntList containing only elements matching the given predicate.
Returns a LongList containing only elements matching the given predicate.
Returns a flattened list containing only the elements that match the given predicate.
Returns a flattened DoubleList containing only elements that match the given predicate.
Returns a flattened FloatList containing only elements that match the given predicate.
Returns a flattened IntList containing only elements that match the given predicate.
Returns a flattened LongList containing only elements that match the given predicate.
Returns a DoubleList containing only elements NOT matching the given predicate.
Returns a FloatList containing only elements NOT matching the given predicate.
Returns a IntList containing only elements NOT matching the given predicate.
Returns a LongList containing only elements NOT matching the given predicate.
Returns a DoubleList containing all non-null elements.
Returns a FloatList containing all non-null elements.
Returns a IntList containing all non-null elements.
Returns a LongList containing all non-null elements.
Returns a single DoubleList of all elements yielded from results of transform function being invoked on each element of original collection.
Returns a single FloatList of all elements yielded from results of transform function being invoked on each element of original collection.
Returns a single IntList of all elements yielded from results of transform function being invoked on each element of original collection.
Returns a single LongList of all elements yielded from results of transform function being invoked on each element of original collection.
Flattens a List of List
Flattens a List of List
Flattens a List of List
Flattens a List of List
Flattens a List of DoubleList into a single DoubleList.
Flattens a List of FloatList into a single FloatList.
Flattens a List of IntList into a single IntList.
Flattens a List of LongList into a single LongList.
Iterates through the windows of the list and performs the given action on each window.
Returns the window at the specified index.
Returns a DoubleList containing the results of applying the given transform function to each element in the original list.
Returns a FloatList containing the results of applying the given transform function to each element in the original list.
Returns a IntList containing the results of applying the given transform function to each element in the original list.
Returns a LongList containing the results of applying the given transform function to each element in the original list.
Returns a flattened list produced by applying transform to each element of the nested lists (generic version).
Returns a flattened DoubleList produced by applying transform to each element of the nested lists.
Returns a flattened FloatList produced by applying transform to each element of the nested lists.
Returns a flattened IntList produced by applying transform to each element of the nested lists.
Returns a flattened LongList produced by applying transform to each element of the nested lists.
Returns a DoubleList containing the results of applying the given transform function to each element and its index in the original list.
Returns a FloatList containing the results of applying the given transform function to each element and its index in the original list.
Returns a IntList containing the results of applying the given transform function to each element and its index in the original list.
Returns a LongList containing the results of applying the given transform function to each element and its index in the original list.
Returns a list containing only the non-null results of applying the given transform function to each element in the original list.
Returns a list of windows with the given windowSize sliding with the given step. Each window is a view into the original list. Changes in the original list will be reflected in the windows.