Package net.shibboleth.shared.primitive
Interface NonnullSupplier<T>
- Type Parameters:
T- type of object supplied
- All Superinterfaces:
Supplier<T>
- All Known Implementing Classes:
ConstantSupplier,ThreadLocalHttpServletRequestSupplier,ThreadLocalHttpServletResponseSupplier
- Since:
- 8.4.0
-
Method Summary
Modifier and TypeMethodDescriptionget()static <T> NonnullSupplier<T>of(T input) Return aNonnullSupplierthat returns the input argument.
-
Method Details
-
get
-
of
Return aNonnullSupplierthat returns the input argument.- Type Parameters:
T- argument type- Parameters:
input- input argument to return- Returns:
- the input argument
-