R
- Return type.E
- Thrown exception.@FunctionalInterface public interface FailableIntFunction<R,E extends Throwable>
IntFunction
that declares a Throwable
.Modifier and Type | Field and Description |
---|---|
static FailableIntFunction |
NOP
NOP singleton
|
Modifier and Type | Method and Description |
---|---|
R |
apply(int input)
Applies this function.
|
static <R,E extends Throwable> |
nop()
Returns The NOP singleton.
|
static final FailableIntFunction NOP
static <R,E extends Throwable> FailableIntFunction<R,E> nop()
R
- Return type.E
- Thrown exception.Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.