zmq.util.function.Consumer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jeromq Show documentation
Show all versions of jeromq Show documentation
Pure Java implementation of libzmq
The newest version!
package zmq.util.function;
/**
* Represents an operation that accepts a single input argument and returns no
* result. Unlike most other functional interfaces, {@code Consumer} is expected
* to operate via side-effects.
*
* This is a functional interface
* whose functional method is {@link #accept(Object)}.
*
* @param the type of the input to the operation
*
*/
public interface Consumer
{
/**
* Performs this operation on the given argument.
*
* @param t the input argument
*/
void accept(T t);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy