Interface ISupplier<T>
-
- All Superinterfaces:
IFunctional
,IRunnable
,IThrowRunnable<RuntimeException>
,Runnable
,Supplier<T>
- All Known Subinterfaces:
ICasedText
,ICloseableNestedState<T>
,ICloseableSupplier<T>
,IFluent1_<T>
,INestedState<T>
,IOptional<T>
,IScopedSupplier<T>
,IWithExplanation<T,E>
,IWithValid<T>
- All Known Implementing Classes:
AOptional
,AOptional.FallbackOptional
,AScopedSupplier
,AValueOptional
,CachingSupplier
,CloseablePath
,CloseableSupplier
,ConcurrentFixedSupplier
,CountState
,FixedCachingSupplier
,FlagState
,Identified
,LiteralSupplier
,NonNullOptional
,NullableOptional
,OrThrowable
,SequenceSupplier
,SingleGlobalState
,SingleThreadState
,StackGlobalState
,StackThreadState
,TempDirectory
,WithExplanation
,WithExplanations
- 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 ISupplier<T> extends Supplier<T>, IRunnable
-
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static <T> ISupplier<T>
create(ISupplier<T> supplier)
static <T> ISupplier<T>
create(T value)
default void
run()
default <I> IFunction1<I,T>
toFunction()
default ISupplier<T>
wrap(IRunnable pre, IRunnable post)
-
-
-
Method Detail
-
create
static <T> ISupplier<T> create(T value)
-
run
default void run()
- Specified by:
run
in interfaceIThrowRunnable<T>
- Specified by:
run
in interfaceRunnable
-
toFunction
default <I> IFunction1<I,T> toFunction()
-
-