AI
推荐
模板社区
专题
登录
免费注册
首页
思维导图
详情
函数式接口
2021-04-06 17:30:02
0
举报
分享方式
使用 (¥3)
AI智能生成
java8函数式接口与方法说明汇总
Java8
java8新特性
函数式编程
函数式接口
functon
模板推荐
作者其他创作
大纲/内容
Predicate
Predicate
Predicate<T>
boolean test(T t)
Predicate<T> and(Predicate<? super T> other)
Predicate<T> negate()
Predicate<T> or(Predicate<? super T> other)
static <T> Predicate<T> isEqual(Object targetRef)
XXXPredicate
IntPredicate
boolean test(int value)
IntPredicate and(IntPredicate other)
IntPredicate negate()
IntPredicate or(IntPredicate other)
LongPredicate
boolean test(long value)
LongPredicate and(LongPredicate other)
LongPredicate negate()
LongPredicate or(LongPredicate other)
DoublePredicate
boolean test(double value)
DoublePredicate and(DoublePredicate other)
DoublePredicate negate()
DoublePredicate or(DoublePredicate other)
BiPredicate
BiPredicate<T,U>
boolean test(T t,<br> U u)
BiPredicate<T,U> and(BiPredicate<? super T,? super U> other)
BiPredicate<T,U> negate()
BiPredicate<T,U> or(BiPredicate<? super T,? super U> other)
Function
Function
Function<T, R>
R apply(T t)
Function<V, R> compose(Function<? super V, ? extends T> before)
Function<T, V> andThen(Function<? super R, ? extends V> after
static Function<T, T> identity()
XXXToFunction
IntFunction<R>
R apply(int value)
DoubleFunction<R>
R apply(double value)
LongFunction<R>
R apply(long value)
ToXXXFunction<T>
ToIntFunction<T>
int applyAsInt(T value)
ToLongFunction<T>
long applyAsLong(T value)
ToDoubleFunction<T>
double applyAsDouble(T value)
XXXToXXXFunction
IntToXXXFunction
IntToDoubleFunction
double applyAsDouble(int value)
IntToLongFunction
long applyAsLong(int value)
LongToXXXFunction
LongToDoubleFunction
double applyAsDouble(long value)
LongToIntFunction
int applyAsInt(long value)
DoubleToXXXFunction
DoubleToIntFunction
int applyAsInt(double value)
DoubleToLongFunction
long applyAsLong(double value)
BiFunction
BiFunction<T, U, R>
R apply(T t, U u)
BiFunction<T, U, V> andThen(Function<? super R, ? extends V> after)
ToXXXBiFunction<T,U>
ToIntBiFunction<T, U>
int applyAsInt(T t, U u)
ToLongBiFunction<T, U>
long applyAsLong(T t, U u)
ToDoubleBiFunction<T, U>
double applyAsDouble(T t, U u)
Supplier
Supplier
Supplier<T>
T get()
XXXSupplier
BooleanSupplier
boolean getAsBoolean()
IntSupplier
int getAsInt()
LongSupplier
long getAsLong()
DoubleSupplier
double getAsDouble()
Consumer
Consumer
Consumer<T>
void accept(T t)
Consumer andThen(Consumer<? super T> after)
XXXConsumer
IntConsumer
void accept(int value)
IntConsumer andThen(IntConsumer after)
LongConsumer
void accept(long value)
LongConsumer andThen(LongConsumer after)
DoubleConsumer
void accept(double value)
DoubleConsumer andThen(DoubleConsumer after)
ObjXXXConsumer
ObjIntConsumer<T>
void accept(T t,<br> int value)
ObjLongConsumer<T>
void accept(T t,<br> int value)
ObjDoubleConsumer<T>
void accept(T t,<br> int value)
BiConsumer
BiConsumer<T,U>
void accept(T t,<br> U u)
BiConsumer<T,U> andThen(BiConsumer<? super T,? super U> after)
Operator
UnaryOperator
UnaryOperator<T>
static <T> UnaryOperator<T> identity()
extends Function <T,T>
XXXUnaryOperator
IntUnaryOperator
int applyAsInt(int operand)
IntUnaryOperator compose(IntUnaryOperator before)
IntUnaryOperator andThen(IntUnaryOperator after)
static IntUnaryOperator identity()
LongUnaryOperator
long applyAsLong(long operand)
LongUnaryOperator compose(LongUnaryOperator before)
LongUnaryOperator andThen(LongUnaryOperator after)
static LongUnaryOperator identity()
DoubleUnaryOperator
double applyAsDouble(double operand)
DoubleUnaryOperator compose(DoubleUnaryOperator before)
DoubleUnaryOperator andThen(DoubleUnaryOperator after)
static DoubleUnaryOperator identity()
BinaryOperator
BinaryOperator<T>
static <T> BinaryOperator<T> minBy(Comparator<? super T> comparator)
static <T> BinaryOperator<T> maxBy(Comparator<? super T> comparator)
extends BiFunction <T,T,T>
XXXBinaryOperator
IntBinaryOperator
int applyAsInt(int left,<br> int right)
LongBinaryOperator
long applyAsLong(long left,<br> long right)
DoubleBinaryOperator
double applyAsDouble(double left,<br> double right)
收藏
立即使用
redis对象——列表对象
收藏
立即使用
redis跳跃表
收藏
立即使用
对象——集合对象
收藏
立即使用
对象——有序集合对象
公羊冶
职业:java开发
去主页
Collect
Get Started
接口
Collect
Get Started
函数20
Collect
Get Started
外部资源接口
Collect
Get Started
积木式敏捷开发
评论
0
条评论
下一页
图形选择
思维导图
主题
补充说明
AI生成
修改AI描述
去编辑
重新生成
提示
关闭后当前内容将不会保存,是否继续?
取消
确定
Document