The operator package should contain operators like union, intersection, difference, etc. The forEach code does not produce any output and is therefore not an operator. So it should be moved to a new package named traversal (existing packages are nouns and therefore traversal and not traverse).
The operator package should contain operators like union, intersection, difference, etc. The
forEach
code does not produce any output and is therefore not an operator. So it should be moved to a new package namedtraversal
(existing packages are nouns and thereforetraversal
and nottraverse
).