generated from nus-cs2030/base-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
In Streams, the .Iterate() methods take in a UnaryOperator instead of a Function, but from what I can tell, it seems as though when you're defining the UnaryOperator, its exactly the same as if it was a Function? Is it actually the same as though i was defining a Function?
I know that UnaryOperator is a sub-interface of Function but i feel like I'm missing something, since if it was exactly the same as a Function, there wouldn't be a need for the UnaryOperator.
Metadata
Metadata
Assignees
Labels
No labels
