All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.swoval.functional.Consumer Maven / Gradle / Ivy

There is a newer version: 2.1.12
Show newest version
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