T- the type of objects being supplied
This can be used to delay computation intensive operations up until they are needed and also prevent from re-running a computation if the result is required several times.
|Constructor and Description|
Creates a new instance with the operation to delay.
|Modifier and Type||Method and Description|
Invokes the given supplier and returns the cached result for every other call.
Copyright © 2018. All rights reserved.