- Type Parameters:
T
- The type returned from the supplier
- All Superinterfaces:
- Serializable, Supplier<T>
@FunctionalInterface
public interface SerializableSupplier<T>
extends Supplier<T>, Serializable
This is a simple Supplier that is also Serializable. This is useful to not require users to cast their Supplier
when a Serializable version is required. This allows lambdas to be placed directly for easy convenience.