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

.0.8.1.source-code.ToCharFunction Maven / Gradle / Ivy

Go to download

Supplementary utilities for classes that belong to java.util, or are considered essential as to justify existence in java.util.

There is a newer version: 0.9.1
Show newest version
/* Copyright (c) 2019 LibJ
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * You should have received a copy of The MIT License (MIT) along with this
 * program. If not, see .
 */

package org.libj.util.function;

import javax.annotation.Generated;

/**
 * Represents a function that produces a char-valued result. This is the
 * {@code char}-producing primitive specialization for
 * {@link java.util.function.Function}.
 *
 * @param  The type of the input to the function.
 * @see java.util.function.Function
 */
@FunctionalInterface
@Generated(value="Autogenerated by OpenJAX CodeGen Template (0.2.5)", date="2020-05-23")
public interface ToCharFunction {
  /**
   * Applies this function to the given argument.
   *
   * @param value The function argument.
   * @return The function result.
   */
  char applyAsChar(T value);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy