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
The difficulty here is around type-safety. It's easy if we just return collection of Object, but that doesn't follow suit with the rest of the library. We could also cast to a specific type, but that leaves the door open for a ClassCastException.
From "THAT OTHER FUNCTIONAL LIBRARY":
"Recursively descends through nested Collections and create a flat Collection of all of the leaves."
The text was updated successfully, but these errors were encountered: