Can anybody explain why Iterable is in java.lang but Iterator is in java.util? Since they're always used together, it seems like they should be in the same package.
CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.