public class MaxSelector extends Selector
This selector considers Double.NaN
values correspond
to non-initialized data that should be ignored rather than
selected.
MinSelector
Modifier and Type | Method | Description |
---|---|---|
static MaxSelector |
getInstance() |
Get the unique instance.
|
boolean |
selectFirst(double v1,
double v2) |
Check if first value should be selected.
|
public static MaxSelector getInstance()
public boolean selectFirst(double v1, double v2)
selectFirst
in class Selector
v1
- first valuev2
- second valueDouble.NaN
Copyright © 2014-2019 CS Systèmes d'information. All rights reserved.