java.util.function
43 classes of the module java.base.
Load them with:
using {
"java.util.function"
}
All packages
BiConsumer#
interface · java.util.function.BiConsumer
Methods
| Method | Ring call | Java overloads |
|---|
accept | accept(t,u) | void accept(Object t, Object u) |
andThen | andThen(after) | BiConsumer andThen(BiConsumer after) |
BiFunction#
interface · java.util.function.BiFunction
Methods
| Method | Ring call | Java overloads |
|---|
andThen | andThen(after) | BiFunction andThen(Function after) |
apply | apply(t,u) | Object apply(Object t, Object u) |
BinaryOperator#
interface · java.util.function.BinaryOperator
Extends: BiFunction
Methods
| Method | Ring call | Java overloads |
|---|
andThen | andThen(after) | BiFunction andThen(Function after) |
apply | apply(t,u) | Object apply(Object t, Object u) |
maxBy | maxBy(comparator) | static BinaryOperator maxBy(Comparator comparator) |
minBy | minBy(comparator) | static BinaryOperator minBy(Comparator comparator) |
BiPredicate#
interface · java.util.function.BiPredicate
Methods
| Method | Ring call | Java overloads |
|---|
@and | @and(other) | BiPredicate and(BiPredicate other) |
@or | @or(other) | BiPredicate or(BiPredicate other) |
negate | negate() | BiPredicate negate() |
test | test(t,u) | boolean test(Object t, Object u) |
BooleanSupplier#
interface · java.util.function.BooleanSupplier
Methods
| Method | Ring call | Java overloads |
|---|
getAsBoolean | getAsBoolean() | boolean getAsBoolean() |
Consumer#
interface · java.util.function.Consumer
Methods
| Method | Ring call | Java overloads |
|---|
accept | accept(t) | void accept(Object t) |
andThen | andThen(after) | Consumer andThen(Consumer after) |
DoubleBinaryOperator#
interface · java.util.function.DoubleBinaryOperator
Methods
| Method | Ring call | Java overloads |
|---|
applyAsDouble | applyAsDouble(left,right) | double applyAsDouble(double left, double right) |
DoubleConsumer#
interface · java.util.function.DoubleConsumer
Methods
| Method | Ring call | Java overloads |
|---|
accept | accept(value) | void accept(double value) |
andThen | andThen(after) | DoubleConsumer andThen(DoubleConsumer after) |
DoubleFunction#
interface · java.util.function.DoubleFunction
Methods
| Method | Ring call | Java overloads |
|---|
apply | apply(value) | Object apply(double value) |
DoublePredicate#
interface · java.util.function.DoublePredicate
Methods
| Method | Ring call | Java overloads |
|---|
@and | @and(other) | DoublePredicate and(DoublePredicate other) |
@or | @or(other) | DoublePredicate or(DoublePredicate other) |
negate | negate() | DoublePredicate negate() |
test | test(value) | boolean test(double value) |
DoubleSupplier#
interface · java.util.function.DoubleSupplier
Methods
| Method | Ring call | Java overloads |
|---|
getAsDouble | getAsDouble() | double getAsDouble() |
DoubleToIntFunction#
interface · java.util.function.DoubleToIntFunction
Methods
| Method | Ring call | Java overloads |
|---|
applyAsInt | applyAsInt(value) | int applyAsInt(double value) |
DoubleToLongFunction#
interface · java.util.function.DoubleToLongFunction
Methods
| Method | Ring call | Java overloads |
|---|
applyAsLong | applyAsLong(value) | long applyAsLong(double value) |
DoubleUnaryOperator#
interface · java.util.function.DoubleUnaryOperator
Methods
| Method | Ring call | Java overloads |
|---|
andThen | andThen(after) | DoubleUnaryOperator andThen(DoubleUnaryOperator after) |
applyAsDouble | applyAsDouble(operand) | double applyAsDouble(double operand) |
compose | compose(before) | DoubleUnaryOperator compose(DoubleUnaryOperator before) |
identity | identity() | static DoubleUnaryOperator identity() |
Function_#
interface · java.util.function.Function
Methods
| Method | Ring call | Java overloads |
|---|
andThen | andThen(after) | Function andThen(Function after) |
apply | apply(t) | Object apply(Object t) |
compose | compose(before) | Function compose(Function before) |
identity | identity() | static Function identity() |
IntBinaryOperator#
interface · java.util.function.IntBinaryOperator
Methods
| Method | Ring call | Java overloads |
|---|
applyAsInt | applyAsInt(left,right) | int applyAsInt(int left, int right) |
IntConsumer#
interface · java.util.function.IntConsumer
Methods
| Method | Ring call | Java overloads |
|---|
accept | accept(value) | void accept(int value) |
andThen | andThen(after) | IntConsumer andThen(IntConsumer after) |
IntFunction#
interface · java.util.function.IntFunction
Methods
| Method | Ring call | Java overloads |
|---|
apply | apply(value) | Object apply(int value) |
IntPredicate#
interface · java.util.function.IntPredicate
Methods
| Method | Ring call | Java overloads |
|---|
@and | @and(other) | IntPredicate and(IntPredicate other) |
@or | @or(other) | IntPredicate or(IntPredicate other) |
negate | negate() | IntPredicate negate() |
test | test(value) | boolean test(int value) |
IntSupplier#
interface · java.util.function.IntSupplier
Methods
| Method | Ring call | Java overloads |
|---|
getAsInt | getAsInt() | int getAsInt() |
IntToDoubleFunction#
interface · java.util.function.IntToDoubleFunction
Methods
| Method | Ring call | Java overloads |
|---|
applyAsDouble | applyAsDouble(value) | double applyAsDouble(int value) |
IntToLongFunction#
interface · java.util.function.IntToLongFunction
Methods
| Method | Ring call | Java overloads |
|---|
applyAsLong | applyAsLong(value) | long applyAsLong(int value) |
IntUnaryOperator#
interface · java.util.function.IntUnaryOperator
Methods
| Method | Ring call | Java overloads |
|---|
andThen | andThen(after) | IntUnaryOperator andThen(IntUnaryOperator after) |
applyAsInt | applyAsInt(operand) | int applyAsInt(int operand) |
compose | compose(before) | IntUnaryOperator compose(IntUnaryOperator before) |
identity | identity() | static IntUnaryOperator identity() |
LongBinaryOperator#
interface · java.util.function.LongBinaryOperator
Methods
| Method | Ring call | Java overloads |
|---|
applyAsLong | applyAsLong(left,right) | long applyAsLong(long left, long right) |
LongConsumer#
interface · java.util.function.LongConsumer
Methods
| Method | Ring call | Java overloads |
|---|
accept | accept(value) | void accept(long value) |
andThen | andThen(after) | LongConsumer andThen(LongConsumer after) |
LongFunction#
interface · java.util.function.LongFunction
Methods
| Method | Ring call | Java overloads |
|---|
apply | apply(value) | Object apply(long value) |
LongPredicate#
interface · java.util.function.LongPredicate
Methods
| Method | Ring call | Java overloads |
|---|
@and | @and(other) | LongPredicate and(LongPredicate other) |
@or | @or(other) | LongPredicate or(LongPredicate other) |
negate | negate() | LongPredicate negate() |
test | test(value) | boolean test(long value) |
LongSupplier#
interface · java.util.function.LongSupplier
Methods
| Method | Ring call | Java overloads |
|---|
getAsLong | getAsLong() | long getAsLong() |
LongToDoubleFunction#
interface · java.util.function.LongToDoubleFunction
Methods
| Method | Ring call | Java overloads |
|---|
applyAsDouble | applyAsDouble(value) | double applyAsDouble(long value) |
LongToIntFunction#
interface · java.util.function.LongToIntFunction
Methods
| Method | Ring call | Java overloads |
|---|
applyAsInt | applyAsInt(value) | int applyAsInt(long value) |
LongUnaryOperator#
interface · java.util.function.LongUnaryOperator
Methods
| Method | Ring call | Java overloads |
|---|
andThen | andThen(after) | LongUnaryOperator andThen(LongUnaryOperator after) |
applyAsLong | applyAsLong(operand) | long applyAsLong(long operand) |
compose | compose(before) | LongUnaryOperator compose(LongUnaryOperator before) |
identity | identity() | static LongUnaryOperator identity() |
ObjDoubleConsumer#
interface · java.util.function.ObjDoubleConsumer
Methods
| Method | Ring call | Java overloads |
|---|
accept | accept(t,value) | void accept(Object t, double value) |
ObjIntConsumer#
interface · java.util.function.ObjIntConsumer
Methods
| Method | Ring call | Java overloads |
|---|
accept | accept(t,value) | void accept(Object t, int value) |
ObjLongConsumer#
interface · java.util.function.ObjLongConsumer
Methods
| Method | Ring call | Java overloads |
|---|
accept | accept(t,value) | void accept(Object t, long value) |
Predicate#
interface · java.util.function.Predicate
Methods
| Method | Ring call | Java overloads |
|---|
@and | @and(other) | Predicate and(Predicate other) |
@not | @not(target) | static Predicate not(Predicate target) |
@or | @or(other) | Predicate or(Predicate other) |
isEqual | isEqual(targetRef) | static Predicate isEqual(Object targetRef) |
negate | negate() | Predicate negate() |
test | test(t) | boolean test(Object t) |
Supplier#
interface · java.util.function.Supplier
Methods
| Method | Ring call | Java overloads |
|---|
@get | @get() | Object get() |
ToDoubleBiFunction#
interface · java.util.function.ToDoubleBiFunction
Methods
| Method | Ring call | Java overloads |
|---|
applyAsDouble | applyAsDouble(t,u) | double applyAsDouble(Object t, Object u) |
ToDoubleFunction#
interface · java.util.function.ToDoubleFunction
Methods
| Method | Ring call | Java overloads |
|---|
applyAsDouble | applyAsDouble(value) | double applyAsDouble(Object value) |
ToIntBiFunction#
interface · java.util.function.ToIntBiFunction
Methods
| Method | Ring call | Java overloads |
|---|
applyAsInt | applyAsInt(t,u) | int applyAsInt(Object t, Object u) |
ToIntFunction#
interface · java.util.function.ToIntFunction
Methods
| Method | Ring call | Java overloads |
|---|
applyAsInt | applyAsInt(value) | int applyAsInt(Object value) |
ToLongBiFunction#
interface · java.util.function.ToLongBiFunction
Methods
| Method | Ring call | Java overloads |
|---|
applyAsLong | applyAsLong(t,u) | long applyAsLong(Object t, Object u) |
ToLongFunction#
interface · java.util.function.ToLongFunction
Methods
| Method | Ring call | Java overloads |
|---|
applyAsLong | applyAsLong(value) | long applyAsLong(Object value) |
UnaryOperator#
interface · java.util.function.UnaryOperator
Extends: Function_
Methods
| Method | Ring call | Java overloads |
|---|
andThen | andThen(after) | Function andThen(Function after) |
apply | apply(t) | Object apply(Object t) |
compose | compose(before) | Function compose(Function before) |
identity | identity() | static UnaryOperator identity() |