T- the type of object supplied.
public interface Supplier<T>
Thread safety of a Supplier is not mandated by this interface, although serious care and consideration should be taken with any implementations that are not.
for a similar interface.
|Modifier and Type||Method and Description|
Produce an object.
NoSuchElementException- if the supply has been exhausted.
Copyright © 2002-2017 Atlassian. All Rights Reserved.