Uses of Interface
org.miaixz.bus.core.center.function.BiConsumerX
Packages that use BiConsumerX
Package
Description
函数封装 接口灵感来自于ActFramework 一个函数接口代表一个一个函数,用于包装一个函数为对象
在JDK8之前,Java的函数并不能作为参数传递,也不能作为返回值存在,此接口用于将一个函数包装成为一个对象,从而传递对象
提供通用树生成,特点:
提供各种工具封装 xyz:做好一切必要准备,可以行动了
-
Uses of BiConsumerX in org.miaixz.bus.core.center.function
Methods in org.miaixz.bus.core.center.function that return BiConsumerXModifier and TypeMethodDescriptiondefault BiConsumerX<T, U> BiConsumerX.andThen(BiConsumerX<? super T, ? super U> after) Returns a composedSerBiConsthat performs, in sequence, this operation followed by theafteroperation.static <T,U> BiConsumerX <T, U> BiConsumerX.multi(BiConsumerX<T, U>... consumers) multistatic <T,U> BiConsumerX <T, U> BiConsumerX.nothing()什么也不做,用于一些需要传入lambda的方法占位使用Methods in org.miaixz.bus.core.center.function with parameters of type BiConsumerXModifier and TypeMethodDescriptiondefault BiConsumerX<T, U> BiConsumerX.andThen(BiConsumerX<? super T, ? super U> after) Returns a composedSerBiConsthat performs, in sequence, this operation followed by theafteroperation.static <T,U> BiConsumerX <T, U> BiConsumerX.multi(BiConsumerX<T, U>... consumers) multi -
Uses of BiConsumerX in org.miaixz.bus.core.tree
Methods in org.miaixz.bus.core.tree with parameters of type BiConsumerXModifier and TypeMethodDescriptionstatic <T,R extends Comparable<R>>
BeanTree<T, R> BeanTree.of(FunctionX<T, R> idGetter, FunctionX<T, R> pidGetter, R pidValue, FunctionX<T, List<T>> childrenGetter, BiConsumerX<T, List<T>> childrenSetter) 构建BeanTreestatic <T,R extends Comparable<R>>
BeanTree<T, R> BeanTree.ofMatch(FunctionX<T, R> idGetter, FunctionX<T, R> pidGetter, PredicateX<T> parentPredicate, FunctionX<T, List<T>> childrenGetter, BiConsumerX<T, List<T>> childrenSetter) 构建BeanTree -
Uses of BiConsumerX in org.miaixz.bus.core.xyz
Methods in org.miaixz.bus.core.xyz with parameters of type BiConsumerXModifier and TypeMethodDescriptionstatic <T> voidCollKit.forEach(Iterable<T> iterable, BiConsumerX<T, Integer> consumer) 循环遍历Iterable,使用BiConsumerX接受遍历的每条数据,并针对每条数据做处理static <T> voidCollKit.forEach(Enumeration<T> enumeration, BiConsumerX<T, Integer> consumer) 循环遍历Enumeration,使用BiConsumerX接受遍历的每条数据,并针对每条数据做处理static <T> voidCollKit.forEach(Iterator<T> iterator, BiConsumerX<T, Integer> consumer) 循环遍历Iterator,使用BiConsumerX接受遍历的每条数据,并针对每条数据做处理