Class TapFunction<T>
- java.lang.Object
-
- com.g2forge.alexandria.java.function.tee.TapFunction<T>
-
- All Implemented Interfaces:
IConsumer
,IConsumer1<T>
,IFunction<T>
,IFunction1<T,T>
,IFunctional
,IThrowConsumer1<T,RuntimeException>
,IThrowFunction1<T,T,RuntimeException>
,Consumer<T>
,Function<T,T>
public class TapFunction<T> extends Object implements IFunction1<T,T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.g2forge.alexandria.java.function.IFunction1
IFunction1.Identity<T>
-
-
Constructor Summary
Constructors Constructor Description TapFunction(Consumer<? super T> consumer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
apply(T input)
-
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
-
-
-
-
Constructor Detail
-
TapFunction
@ConstructorProperties("consumer") public TapFunction(Consumer<? super T> consumer)
-
-