public class BoundedIntUnaryOperator extends Object implements IntUnaryOperator
| Modifier and Type | Class and Description |
|---|---|
static class |
BoundedIntUnaryOperator.Serializer |
| Modifier and Type | Field and Description |
|---|---|
private Integer |
max |
private Integer |
min |
private IntUnaryOperator |
operator |
| Modifier | Constructor and Description |
|---|---|
private |
BoundedIntUnaryOperator(Integer min,
Integer max) |
| Modifier and Type | Method and Description |
|---|---|
int |
applyAsInt(int value) |
static BoundedIntUnaryOperator |
create(int min,
int max) |
static BoundedIntUnaryOperator |
createMax(int max) |
static BoundedIntUnaryOperator |
createMin(int min) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitandThen, compose, identityprivate final Integer min
private final Integer max
private final IntUnaryOperator operator
public static BoundedIntUnaryOperator create(int min, int max)
public static BoundedIntUnaryOperator createMin(int min)
public static BoundedIntUnaryOperator createMax(int max)
public int applyAsInt(int value)
applyAsInt in interface IntUnaryOperator