Class PassThruFunction0<T>
- java.lang.Object
-
- org.eclipse.collections.impl.block.function.PassThruFunction0<T>
-
- All Implemented Interfaces:
java.io.Serializable
,java.util.function.Supplier<T>
,Function0<T>
public final class PassThruFunction0<T> extends java.lang.Object implements Function0<T>
A passthru Function0 which returns the value specified.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private T
result
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description PassThruFunction0(T newResult)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
value()
-