接口的使用
net.dongliu.commons.function.IndexedConsumer
-
使用IndexedConsumer的程序包 程序包 说明 net.dongliu.commons.collection Utils for collection.net.dongliu.commons.function -
-
net.dongliu.commons.collection中IndexedConsumer的使用
参数类型为IndexedConsumer的net.dongliu.commons.collection中的方法 修饰符和类型 方法 说明 static <T> voidCollections2. forEachIndexed(java.util.Collection<T> c, IndexedConsumer<? super T> consumer)Traverse on a collection, with element index.static <T> voidIterables. forEachIndexed(java.lang.Iterable<T> iterable, IndexedConsumer<? super T> consumer)Traverse on a collection.static <T> voidLists. forEachIndexed(java.util.List<T> list, IndexedConsumer<? super T> consumer)Traverse on a list, with index for each element. -
net.dongliu.commons.function中IndexedConsumer的使用
参数类型为IndexedConsumer的net.dongliu.commons.function中的方法 修饰符和类型 方法 说明 static <T> java.util.function.Consumer<T>Consumers. adapterIndexed(IndexedConsumer<? super T> consumer)Adaptor for consuming with index
-