ComputedConstant -- no pre-set supplier exists?
David Alayachew
davidalayachew at gmail.com
Mon Jul 31 13:13:14 UTC 2023
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/d8c9736c/attachment.htm>
More information about the leyden-dev
mailing list