Package | Description |
---|---|
org.dromara.hutool.core.func |
函数封装
接口灵感来自于ActFramework 一个函数接口代表一个一个函数,用于包装一个函数为对象 在JDK8之前,Java的函数并不能作为参数传递,也不能作为返回值存在,此接口用于将一个函数包装成为一个对象,从而传递对象 |
Modifier and Type | Method and Description |
---|---|
default SerBiPredicate<T,U> |
SerBiPredicate.and(SerBiPredicate<? super T,? super U> other)
Returns a composed predicate that represents a short-circuiting logical
AND of this predicate and another.
|
default SerBiPredicate<T,U> |
SerBiPredicate.negate()
Returns a predicate that represents the logical negation of this
predicate.
|
default SerBiPredicate<T,U> |
SerBiPredicate.or(SerBiPredicate<? super T,? super U> other)
Returns a composed predicate that represents a short-circuiting logical
OR of this predicate and another.
|
Modifier and Type | Method and Description |
---|---|
default SerBiPredicate<T,U> |
SerBiPredicate.and(SerBiPredicate<? super T,? super U> other)
Returns a composed predicate that represents a short-circuiting logical
AND of this predicate and another.
|
default SerBiPredicate<T,U> |
SerBiPredicate.or(SerBiPredicate<? super T,? super U> other)
Returns a composed predicate that represents a short-circuiting logical
OR of this predicate and another.
|
Copyright © 2025. All rights reserved.