Java Streams: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 9: Line 9:


=System.out/System.err/System.in=
=System.out/System.err/System.in=
{{External|https://docs.oracle.com/javase/8/docs/api/java/lang/System.html#out}}


To replace the default System.out:
To replace the default System.out:

Revision as of 14:36, 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

https://docs.oracle.com/javase/8/docs/api/java/lang/System.html#out

To replace the default System.out: