com.amoerie.jstreams.functions.Consumer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jstreams Show documentation
Show all versions of jstreams Show documentation
Contains Java 6 compatible FP streams that are immutable, lazy and chainable.
The newest version!
package com.amoerie.jstreams.functions;
/**
* Represents a consumption operation, returning no result.
* @param the type of element this consumer can consume
*/
public interface Consumer {
/**
* Consumes the next element
* @param e the next element
*/
void consume(E e);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy