Interface NonnullSupplier<T>
-
- Type Parameters:
T- type of supplier output
- All Superinterfaces:
Supplier<T>
- All Known Implementing Classes:
ThreadLocalHttpServletRequestSupplier,ThreadLocalHttpServletResponseSupplier
public interface NonnullSupplier<T> extends Supplier<T>
- Since:
- 8.4.0
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description Tget()static <T> NonnullSupplier<T>of(T input)Return aNonnullSupplierthat returns the input argument.
-
-
-
Method Detail
-
of
@Nonnull static <T> NonnullSupplier<T> of(@Nonnull T input)
Return aNonnullSupplierthat returns the input argument.- Type Parameters:
T- argument type- Parameters:
input- input argument to return- Returns:
- the input argument
-
-