Class IFunction1.Identity<T>
- java.lang.Object
-
- com.g2forge.alexandria.java.function.IFunction1.Identity<T>
-
- All Implemented Interfaces:
ISingleton
,IConsumer
,IConsumer1<T>
,IFunction<T>
,IFunction1<T,T>
,IFunctional
,IThrowConsumer1<T,RuntimeException>
,IThrowFunction1<T,T,RuntimeException>
,Consumer<T>
,Function<T,T>
- Enclosing interface:
- IFunction1<I,O>
public static class IFunction1.Identity<T> extends Object implements IFunction1<T,T>, ISingleton
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.g2forge.alexandria.java.function.IFunction1
IFunction1.Identity<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected static IFunction1.Identity<?>
INSTANCE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description T
apply(T t)
static <T> IFunction1.Identity<T>
create()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.g2forge.alexandria.java.function.IConsumer1
andThen
-
Methods inherited from interface com.g2forge.alexandria.java.function.IFunction1
accept, andThen, applyWithFallback, compose, curry, lift, lift, noReturn, override, sync, toConsumer, toFunction, wrap
-
Methods inherited from interface com.g2forge.alexandria.java.function.IThrowFunction1
wrap
-
-
-
-
Field Detail
-
INSTANCE
protected static IFunction1.Identity<?> INSTANCE
-
-
Method Detail
-
create
public static <T> IFunction1.Identity<T> create()
-
-