Class LiteralFunction2<I0,I1,O>
- java.lang.Object
-
- com.g2forge.alexandria.java.function.LiteralFunction2<I0,I1,O>
-
- All Implemented Interfaces:
IConsumer
,IConsumer2<I0,I1>
,IFunction<O>
,IFunction2<I0,I1,O>
,IFunctional
,BiConsumer<I0,I1>
,BiFunction<I0,I1,O>
public class LiteralFunction2<I0,I1,O> extends Object implements IFunction2<I0,I1,O>
-
-
Field Summary
Fields Modifier and Type Field Description protected static LiteralFunction2<?,?,Object>
NULL
protected O
value
-
Constructor Summary
Constructors Constructor Description LiteralFunction2(O value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description O
apply(I0 input0, I1 input1)
protected boolean
canEqual(Object other)
boolean
equals(Object o)
static <I0,I1,O>
IFunction2<I0,I1,O>getNull()
O
getValue()
int
hashCode()
String
toString()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.function.BiFunction
andThen
-
Methods inherited from interface com.g2forge.alexandria.java.function.IConsumer2
andThen
-
Methods inherited from interface com.g2forge.alexandria.java.function.IFunction2
accept, compose0, compose1, compute0, compute1, curry0, curry1, lift0, lift1, noReturn, sync, toConsumer, toFunction, wrap
-
-
-
-
Field Detail
-
NULL
protected static final LiteralFunction2<?,?,Object> NULL
-
value
protected final O value
-
-
Constructor Detail
-
LiteralFunction2
@ConstructorProperties("value") public LiteralFunction2(O value)
-
-
Method Detail
-
getNull
public static <I0,I1,O> IFunction2<I0,I1,O> getNull()
-
getValue
public O getValue()
-
canEqual
protected boolean canEqual(Object other)
-
-