T
- Type of the return value.public interface Supplier<T>
extends java.io.Serializable
java.lang.AutoCloseable
then it will be
automatically closed when the application terminates.Modifier and Type | Method and Description |
---|---|
T |
get() |
T get()