Implementation of {@link Iterator} that takes its elements from a {@link Consumer}. This iterator also implements {@link Closeable}. Closing this iterator will cause the underlying consumer to be closed. If for any reason the underlying consumer gets closed (either because this iterator closed it or some other reason), then this iterator will consider that it has not next items. {@link #remove()} operation is not allowed on this instance
@since 3.5.0
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.