blob: 526e643b90eb68f816a892e1f10417f1070f3e3a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/*
* SPDX-FileCopyrightText: 2021-2023 The Refinery Authors <https://refinery.tools/>
*
* SPDX-License-Identifier: EPL-2.0
*/
package tools.refinery.store.query.term.real;
import tools.refinery.store.query.term.ExtremeValueAggregator;
import java.util.Comparator;
public final class RealExtremeValueAggregator {
public static final ExtremeValueAggregator<Double> MINIMUM = new ExtremeValueAggregator<>(Double.class,
Double.POSITIVE_INFINITY);
public static final ExtremeValueAggregator<Double> MAXIMUM = new ExtremeValueAggregator<>(Double.class,
Double.NEGATIVE_INFINITY, Comparator.reverseOrder());
private RealExtremeValueAggregator() {
throw new IllegalStateException("This is a static utility class and should not be instantiated directly");
}
}
|