资源说明: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
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。