
com.github.tommyettinger.function.ByteSupplier 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 a supplier of {@code byte}-valued results.
*
* This is a functional interface whose functional method is {@link #getAsByte()}.
*/
@FunctionalInterface
public interface ByteSupplier {
/**
* Gets a result.
*
* @return a result
*/
byte getAsByte();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy