google / guava

Google core libraries for Java
Apache License 2.0
50.25k stars 10.91k forks source link

Add isMemoized() method to MemoizingSupplier #7469

Open xc-x opened 1 month ago

xc-x commented 1 month ago

-allowing check whether the value has been memoized without triggering the memoization process. -updated toString() to reflect state

Resolves issue#7292

google-cla[bot] commented 1 month ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.