【文件属性】:
文件名称:Android代码-java8 以下,使用Stream Api。
文件大小:498KB
文件格式:ZIP
更新时间:2022-08-25 21:41:42
Android代码
Lightweight-Stream-API
Stream API from Java 8 rewritten on iterators for Java 7 and below.
Includes
Functional interfaces (Supplier, Function, Consumer etc);
Stream/IntStream/LongStream/DoubleStream (without parallel processing, but with a variety of additional methods and with custom operators);
Optional/OptionalBoolean/OptionalInt/OptionalLong/OptionalDouble classes;
Exceptional class - functional way to deal with exceptions;
Objects from Java 7.
Usage
Stream.of(/* array | list | set