Package | Description |
---|---|
java8.util.function |
Functional interfaces provide target types for lambda expressions
and method references.
|
Modifier and Type | Interface and Description |
---|---|
interface |
BiConsumer<T,U>
Represents an operation that accepts two input arguments and returns no
result.
|
interface |
BiFunction<T,U,R>
Represents a function that accepts two arguments and produces a result.
|
interface |
BinaryOperator<T>
Represents an operation upon two operands of the same type, producing a result
of the same type as the operands.
|
interface |
BiPredicate<T,U>
Represents a predicate (boolean-valued function) of two arguments.
|
interface |
BooleanSupplier
Represents a supplier of
boolean -valued results. |
interface |
Consumer<T>
Represents an operation that accepts a single input argument and returns no
result.
|
interface |
DoubleBinaryOperator
Represents an operation upon two
double -valued operands and producing a
double -valued result. |
interface |
DoubleConsumer
Represents an operation that accepts a single
double -valued argument and
returns no result. |
interface |
DoubleFunction<R>
Represents a function that accepts a double-valued argument and produces a
result.
|
interface |
DoublePredicate
Represents a predicate (boolean-valued function) of one
double -valued
argument. |
interface |
DoubleSupplier
Represents a supplier of
double -valued results. |
interface |
DoubleToIntFunction
Represents a function that accepts a double-valued argument and produces an
int-valued result.
|
interface |
DoubleToLongFunction
Represents a function that accepts a double-valued argument and produces a
long-valued result.
|
interface |
DoubleUnaryOperator
Represents an operation on a single
double -valued operand that produces
a double -valued result. |
interface |
Function<T,R>
Represents a function that accepts one argument and produces a result.
|
interface |
IntBinaryOperator
Represents an operation upon two
int -valued operands and producing an
int -valued result. |
interface |
IntConsumer
Represents an operation that accepts a single
int -valued argument and
returns no result. |
interface |
IntFunction<R>
Represents a function that accepts an int-valued argument and produces a
result.
|
interface |
IntPredicate
Represents a predicate (boolean-valued function) of one
int -valued
argument. |
interface |
IntSupplier
Represents a supplier of
int -valued results. |
interface |
IntToDoubleFunction
Represents a function that accepts an int-valued argument and produces a
double-valued result.
|
interface |
IntToLongFunction
Represents a function that accepts an int-valued argument and produces a
long-valued result.
|
interface |
IntUnaryOperator
Represents an operation on a single
int -valued operand that produces
an int -valued result. |
interface |
LongBinaryOperator
Represents an operation upon two
long -valued operands and producing a
long -valued result. |
interface |
LongConsumer
Represents an operation that accepts a single
long -valued argument and
returns no result. |
interface |
LongFunction<R>
Represents a function that accepts a long-valued argument and produces a
result.
|
interface |
LongPredicate
Represents a predicate (boolean-valued function) of one
long -valued
argument. |
interface |
LongSupplier
Represents a supplier of
long -valued results. |
interface |
LongToDoubleFunction
Represents a function that accepts a long-valued argument and produces a
double-valued result.
|
interface |
LongToIntFunction
Represents a function that accepts a long-valued argument and produces an
int-valued result.
|
interface |
LongUnaryOperator
Represents an operation on a single
long -valued operand that produces
a long -valued result. |
interface |
ObjDoubleConsumer<T>
Represents an operation that accepts an object-valued and a
double -valued argument, and returns no result. |
interface |
ObjIntConsumer<T>
Represents an operation that accepts an object-valued and a
int -valued argument, and returns no result. |
interface |
ObjLongConsumer<T>
Represents an operation that accepts an object-valued and a
long -valued argument, and returns no result. |
interface |
Predicate<T>
Represents a predicate (boolean-valued function) of one argument.
|
interface |
Supplier<T>
Represents a supplier of results.
|
interface |
ToDoubleBiFunction<T,U>
Represents a function that accepts two arguments and produces a double-valued
result.
|
interface |
ToDoubleFunction<T>
Represents a function that produces a double-valued result.
|
interface |
ToIntBiFunction<T,U>
Represents a function that accepts two arguments and produces an int-valued
result.
|
interface |
ToIntFunction<T>
Represents a function that produces an int-valued result.
|
interface |
ToLongBiFunction<T,U>
Represents a function that accepts two arguments and produces a long-valued
result.
|
interface |
ToLongFunction<T>
Represents a function that produces a long-valued result.
|
interface |
UnaryOperator<T>
Represents an operation on a single operand that produces a result of the
same type as its operand.
|