Java Streams: Difference between revisions
Jump to navigation
Jump to search
Line 15: | Line 15: | ||
<syntaxhighlight lang='java'> | <syntaxhighlight lang='java'> | ||
System.setOut(...); | |||
</syntaxhighlight> | </syntaxhighlight> |
Latest revision as of 14:37, 28 October 2017
Internal
Piped Streams
Closing a PipedInputStream does not release a thread blocked on it in reading.
System.out/System.err/System.in
To replace the default System.out:
System.setOut(...);