public < U > FutureStream < U > generate ( final Supplier < U > generate ) { return construct ( StreamSupport . < U > stream ( new InfiniteClosingSpliteratorFromSupplier < U > ( Long . MAX_VALUE , generate , new Subscription ( ) ) , false ) ) ; }
Generate an infinite Stream