
com.github.tommyettinger.function.CharConsumer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of funderby Show documentation
Show all versions of funderby Show documentation
Java 8+ functional interfaces for primitive types
The newest version!
package com.github.tommyettinger.function;
/**
* Represents an operation that accepts a single {@code char}-valued argument and
* returns no result.
*
* This is a functional interface whose functional method is {@link #accept(char)}.
*/
@FunctionalInterface
public interface CharConsumer {
/**
* Performs this operation on the given argument.
*
* @param value the input argument
*/
void accept(char value);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy