com.swoval.functional.Consumer Maven / Gradle / Ivy
package com.swoval.functional;
/**
* Represents an operation that takes an input and returns no result.
*
* @param the input type
*/
public interface Consumer {
/**
* Performs the operation on the given argument.
*
* @param t the input argument
*/
void accept(final T t);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy