expose ToDouble ctor

This commit is contained in:
Jonathan Shook
2023-12-07 20:59:07 -06:00
parent 2f34a6e44d
commit bcdcb7c710

View File

@@ -39,7 +39,7 @@ public class ToDouble implements LongToDoubleFunction {
private final LongToDoubleFunction func;
ToDouble(Object func) {
public ToDouble(Object func) {
if (func instanceof Number number) {
final double aDouble = number.doubleValue();
this.func = l -> aDouble;