ponder-lab / Optimize-Java-8-Streams-Refactoring

Refactorings for optimizing Java 8 stream client code for greater parallelism and efficiency.
http://cuny.is/streams
Eclipse Public License 1.0
8 stars 7 forks source link

discover() methods should probably return collections #74

Open khatchad opened 7 years ago

khatchad commented 7 years ago

The discover...() methods in StreamStateMachine should probably return collections. Right now, they fill in static fields. This is probably a bit confusing and not so flexible. The caller can decide what to do with them. This is a code quality issue.