public final class SquareRootFunction
extends java.lang.Object
implements java.util.function.Function<java.lang.Integer,java.lang.Integer>
| Constructor and Description |
|---|
SquareRootFunction() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
apply(java.lang.Integer t) |
static java.util.function.Function<java.lang.Integer,java.lang.Integer> |
create(int baseline)
Create an instance of a function that returns : baseline + sqrt(limit)
|
public static java.util.function.Function<java.lang.Integer,java.lang.Integer> create(int baseline)
baseline - public java.lang.Integer apply(java.lang.Integer t)
apply in interface java.util.function.Function<java.lang.Integer,java.lang.Integer>