ComputedConstant -- no pre-set supplier exists?
Per-Ake Minborg
per-ake.minborg at oracle.com
Mon Jul 31 13:53:31 UTC 2023
Thanks for bringing this to our attention. There is always a pre-set supplier. We will fix it. /Per
________________________________
From: leyden-dev <leyden-dev-retn at openjdk.org> on behalf of David Alayachew <davidalayachew at gmail.com>
Sent: Monday, July 31, 2023 3:13 PM
To: leyden-dev <leyden-dev at openjdk.org>
Subject: ComputedConstant -- no pre-set supplier exists?
Hello Leyden Dev Team,
I was looking at the documentation for ComputedConstant, and I was a little surprised to see this snippet in the javadoc for ComputedConstant::get.
"If no attempt to bind a value was made previously and no pre-set supplier exists, throws a NoSuchElementException."
What does no pre-set Supplier mean? Do they mean if the Supplier is null? Or do they mean that we have the ability to create a ComputedConstant that has not yet been provided a Supplier? Something else?
Thank you for your time and help!
David Alayachew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/leyden-dev/attachments/20230731/611bf96f/attachment.htm>
More information about the leyden-dev
mailing list