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

io.deephaven.engine.primitive.function.CharToIntFunction 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
//
package io.deephaven.engine.primitive.function;

/**
 * Functional interface to apply a function to a single {@code char} input and produce a single {@code int} result.
 */
@FunctionalInterface
public interface CharToIntFunction {

    /**
     * Apply this function to {@code value}.
     *
     * @param value The {@code char} input
     * @return The {@code int} result
     */
    int applyAsInt(char value);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy