Index
All Classes and Interfaces|All Packages
A
- accumulator() - Method in class com.ggalmazor.ltdownsampling.tools.SlidingCollector
-
A function that folds a value into a mutable result container.
C
- centerBetween(Point, Point) - Static method in interface com.ggalmazor.ltdownsampling.Point
-
Utility method to compute the geometric center point of the segment linking the provided
a
andb
points - characteristics() - Method in class com.ggalmazor.ltdownsampling.tools.SlidingCollector
-
Returns a
Set
ofCollector.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
-
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
-
This class provides a basic
Point
implementation onDouble
values to be used withLTThreeBuckets.sorted(java.util.List<T>, int)
. - DoublePoint(double, double) - Constructor for class com.ggalmazor.ltdownsampling.DoublePoint
F
- finisher() - Method in class com.ggalmazor.ltdownsampling.tools.SlidingCollector
-
Perform the final transformation from the intermediate accumulation type
A
to the final result typeR
.
G
- getX() - Method in class com.ggalmazor.ltdownsampling.DoublePoint
- getX() - Method in interface com.ggalmazor.ltdownsampling.Point
- getY() - Method in class com.ggalmazor.ltdownsampling.DoublePoint
- getY() - Method in interface com.ggalmazor.ltdownsampling.Point
L
- LTThreeBuckets - Class in com.ggalmazor.ltdownsampling
-
The LTThreeBuckets class is the main entry point to this library.
- LTThreeBuckets() - Constructor for class com.ggalmazor.ltdownsampling.LTThreeBuckets
O
- of(Number, Number) - Static method in class com.ggalmazor.ltdownsampling.DoublePoint
-
Utility factory for
DoublePoint
that takes abstractNumber
x and y 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 providedsize
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 providedsize
, advancing the providedstep
elements between each group. - SlidingCollector<T> - Class in com.ggalmazor.ltdownsampling.tools
-
This class 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
- sorted(List<T>, int, int) - Static method in class com.ggalmazor.ltdownsampling.LTThreeBuckets
- supplier() - Method in class com.ggalmazor.ltdownsampling.tools.SlidingCollector
-
A function that creates and returns a new mutable result container.
T
- toString() - Method in class com.ggalmazor.ltdownsampling.DoublePoint
All Classes and Interfaces|All Packages