You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduce dedicated util.data.NoSuchElement exception. It's thrown
from Optional::get() if no element is present instead of the generic util.NoSuchElementException. For BC reasons, it extends the latter.
(@thekid)
Implemented PR #54: Implement Sequence::single() - which is similar
to first() but raises an exception if there are more than 1 element
in the sequence.
(@thekid)