Interface Function0<R>
-
- All Superinterfaces:
java.io.Serializable,java.util.function.Supplier<R>
- All Known Implementing Classes:
CheckedFunction0,Functions0.AtomicIntegerZeroFunction,Functions0.AtomicLongZeroFunction,Functions0.BigDecimalZeroFunction,Functions0.BigIntegerZeroFunction,Functions0.FalseFunction,Functions0.IntegerZeroFunction,Functions0.NewFastListFunction,Functions0.NewHashBagFunction,Functions0.NewUnifiedMapFunction,Functions0.NewUnifiedSetFunction,Functions0.NullFunction,Functions0.ThrowingFunction0Adapter,Functions0.TrueFunction,PassThruFunction0
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface Function0<R> extends java.util.function.Supplier<R>, java.io.SerializableFunction0 is a zero argument lambda. It can be stored in a variable or passed as a parameter and executed by calling the value method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Rget()Rvalue()
-