Example usage for java.util.function Function interface-usage

List of usage examples for java.util.function Function interface-usage

Introduction

In this page you can find the example usage for java.util.function Function interface-usage.

Usage

From source file defaultmethods.SortFunction.java

public interface SortFunction extends Function<Comparator<Card>, Deck> {
    public Deck apply(Comparator<Card> cardComparator);
}

From source file com.opengamma.strata.math.impl.function.special.NaturalLogGammaFunction.java

/**
 * The natural logarithm of the Gamma function {@link GammaFunction}.
 * <p>
 * This class is a wrapper for the
 * <a href="http://commons.apache.org/proper/commons-math/javadocs/api-3.5/org/apache/commons/math3/special/Gamma.html">Commons Math library implementation</a> 
 * of the log-Gamma function

From source file objenome.op.Numeric1.java

/**
 * 1-input numeric function.
 * Takes all numeric inputs
 * Produces numeric output of the same type as input
 */
public abstract class Numeric1 extends MathNode implements UnivariateFunction, Function<Double, Number> {

From source file com.trickl.stats.GammaDistributionOutlier.java

/**
 *
 * @author tgee
 */
public class GammaDistributionOutlier implements Function<int[], IntPredicate> {
    private final double probability;

From source file com.opengamma.strata.math.impl.function.special.IncompleteGammaFunction.java

/**
 * The incomplete gamma function is defined as:
 * $$
 * \begin{equation*}
 * P(a, x) = \frac{\gamma(a, x)}{\Gamma(a)}\int_0^x e^{-t}t^{a-1}dt
 * \end{equation*}

From source file com.opengamma.strata.math.impl.function.special.IncompleteBetaFunction.java

/**
 * The incomplete beta function is defined as:
 * $$
 * \begin{equation*}
 * I_x(a, b)=\frac{B_x(a, b)}{B(a, b)}\int_0^x t^{a-1}(1-t)^{b-1}dt
 * \end{equation*}

From source file com.github.rutledgepaulv.testsupport.CriteriaSerializer.java

/**
 * Spring doesn't know how to serialize enums on a toString call
 */
public class CriteriaSerializer implements Function<Criteria, String> {

    @Override

From source file fuzzy.mf.GaussianMembershipFunction.java

/**
 * Gaussian Membership Function. Equivalent to Matlab 
 * <a href="http://www.mathworks.com/help/toolbox/fuzzy/gaussmf.html">gaussmf</a> 
 * function. 
 *
 * @since 0.1

From source file com.joyent.manta.client.MantaObjectConversionFunction.java

/**
 * Function class that provides the conversion method for mapping a {@link Map}
 * to a {@link MantaObject}.
 *
 * @author <a href="https://github.com/dekobon">Elijah Zupancic</a>
 * @since 3.1.7

From source file de.vandermeer.skb.interfaces.transformers.Transformer.java

/**
 * Standard transformer transforming FROM to TO with or with a predicate.
 *
 * @author     Sven van der Meer &lt;vdmeer.sven@mykolab.com&gt;
 * @version    v0.0.2 build 170502 (02-May-17) for Java 1.8
 * @since      v0.0.1