4 ms·
You can't because the interface doesn't allow any errors. Lazily populating data is usually fallible, and the interface's methods are all infallible.
by TheDong 6y ago
You can't because the interface doesn't allow any errors. Lazily populating data is usually fallible, and the interface's methods are all infallible.
- tptacek 6y agoOK, I'm convinced. Not a great interface, should just return an iterator.