Index

A C D F G L O P S T 
All Classes and Interfaces|All Packages

A

accumulator() - Method in class com.ggalmazor.ltdownsampling.tools.SlidingCollector
Returns a function that folds a value into a mutable result container.

C

centerBetween(Point, Point) - Static method in interface com.ggalmazor.ltdownsampling.Point
Computes the geometric center point of the segment linking the provided a and b points.
characteristics() - Method in class com.ggalmazor.ltdownsampling.tools.SlidingCollector
Returns a Set of Collector.Characteristics indicating the characteristics of this Collector.
com.ggalmazor.ltdownsampling - package com.ggalmazor.ltdownsampling
 
com.ggalmazor.ltdownsampling.tools - package com.ggalmazor.ltdownsampling.tools
 
combiner() - Method in class com.ggalmazor.ltdownsampling.tools.SlidingCollector
Returns a function that accepts two partial results and merges them.
CustomCollectors - Class in com.ggalmazor.ltdownsampling.tools
Utility class to wire in the sliding window collector defined by SlidingCollector.
CustomCollectors() - Constructor for class com.ggalmazor.ltdownsampling.tools.CustomCollectors
 

D

DoublePoint - Class in com.ggalmazor.ltdownsampling
Basic Point implementation backed by double values, for use with LTThreeBuckets.sorted(java.util.List<T>, int).
DoublePoint(double, double) - Constructor for class com.ggalmazor.ltdownsampling.DoublePoint
Creates a new DoublePoint with the provided x and y values.

F

finisher() - Method in class com.ggalmazor.ltdownsampling.tools.SlidingCollector
Performs the final transformation from the intermediate accumulation type A to the final result type R.

G

getX() - Method in class com.ggalmazor.ltdownsampling.DoublePoint
Returns the x horizontal (time) value of this point.
getX() - Method in interface com.ggalmazor.ltdownsampling.Point
Returns the x horizontal (time) value of this point.
getY() - Method in class com.ggalmazor.ltdownsampling.DoublePoint
Returns the y vertical value of this point.
getY() - Method in interface com.ggalmazor.ltdownsampling.Point
Returns the y vertical value of this point.

L

LTThreeBuckets - Class in com.ggalmazor.ltdownsampling
The LTThreeBuckets class is the main entry point to this library.

O

of(Number, Number) - Static method in class com.ggalmazor.ltdownsampling.DoublePoint
Utility factory for DoublePoint that accepts abstract Number values.

P

Point - Interface in com.ggalmazor.ltdownsampling
Defines the properties of points that can be processed by LTThreeBuckets.

S

sliding(int) - Static method in class com.ggalmazor.ltdownsampling.tools.CustomCollectors
Collects a Stream into lists of consecutive elements in groups of the provided size without overlaps or gaps.
sliding(int, int) - Static method in class com.ggalmazor.ltdownsampling.tools.CustomCollectors
Collects a Stream into lists of consecutive elements in groups of the provided size, advancing step elements between each group.
SlidingCollector<T> - Class in com.ggalmazor.ltdownsampling.tools
Implements a sliding window collector for Stream streams.
SlidingCollector(int, int) - Constructor for class com.ggalmazor.ltdownsampling.tools.SlidingCollector
Creates a new SlidingCollector instance with the provided configuration.
sorted(List<T>, int) - Static method in class com.ggalmazor.ltdownsampling.LTThreeBuckets
Returns a downsampled version of the provided input list.
sorted(List<T>, int, int) - Static method in class com.ggalmazor.ltdownsampling.LTThreeBuckets
Returns a downsampled version of the provided input list.
supplier() - Method in class com.ggalmazor.ltdownsampling.tools.SlidingCollector
Returns a function that creates and returns a new mutable result container.

T

toString() - Method in class com.ggalmazor.ltdownsampling.DoublePoint
Returns the text representation of this point.
A C D F G L O P S T 
All Classes and Interfaces|All Packages