接口的使用
org.coodex.functional.Consumer
使用Consumer的程序包
-
org.coodex.util中Consumer的使用
参数类型为Consumer的org.coodex.util中的方法修饰符和类型方法说明static <T> voidCommon.forEachBlock(T[] all, int blockSize, boolean continuous, float redundancy, IntFunction<T[]> arrayProvider, Consumer<T[]> consumer) 对一个大数组进行分块操作static voidReflectHelper.foreachClass(Consumer<Class<?>> processor, Function<String, Boolean> filter, String... packages)