public class MinSelector extends Selector
This selector considers Double.NaN
values correspond
to non-initialized data that should be ignored rather than
selected.
MaxSelector
Modifier and Type | Method | Description |
---|---|---|
static MinSelector |
getInstance() |
Get the unique instance.
|
boolean |
selectFirst(double v1,
double v2) |
Check if first value should be selected.
|
public static MinSelector 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.