The Java java.io package provides a set of abstractions modeling stream-based input and output. These abstractions are powerful, but they can be hard to understand for students. This module provides the material for teaching and learning the proper use of the Java stream classes. The module is built around StreamLab, a visual interactive tool for exploring and discovering the principles behind Java's stream package.
StreamLab provides the following main features
- Visually create and combine any number of stream objects
- Invoke methods on these objects
- Follow the call sequence of method calls on these objects
- Connect probes between two streams, to trace the flow of bytes or characters