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

io.deephaven.engine.primitive.function.ToByteFunction Maven / Gradle / Ivy

Go to download

Primitives: Expanding upon java.util.PrimitiveIterator and java.util.function.* for {byte, char, float, short}

The newest version!
//
// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending
//
// ****** AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY
// ****** Edit ToCharFunction and run "./gradlew replicatePrimitiveInterfaces" to regenerate
//
// @formatter:off
package io.deephaven.engine.primitive.function;

/**
 * Functional interface to apply an operation to an object and produce a {@code byte}.
 *
 * @param  the object type that this function applies to
 */
@FunctionalInterface
public interface ToByteFunction {
    /**
     * Applies this function to the given argument of type {@link T}.
     * 
     * @param value the argument to the function
     * @return the byte result
     */
    byte applyAsByte(T value);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy