public class BiFunctions extends Object
BiFunction instances.| Modifier and Type | Method and Description |
|---|---|
static <T,U,R,RR extends R> |
constant(RR r)
Creates a
BiFunction that always returns the
given value. |
public static <T,U,R,RR extends R> BiFunction<T,U,R> constant(RR r)
BiFunction that always returns the
given value.T - The first argument type of the BiFunctionU - The second argument type of the BiFunctionR - The value type of the BiFunctionRR - A subtype of the value typer - The valueBiFunctionCopyright © 2015. All rights reserved.