In this post under Apache Commons IO, I will show with example how to write String data to an output stream. The Apache Commons IO library, provides a overloaded static method “write” under “IOUtils” class. We can use this method to write String data to an output stream. Its just a one line of code.…… Continue reading Writing String data to an output stream
Category: Uncategorized
BiFunction Example
In this post, I will show how to use BiFunction functional interface with an example. BiFunction functional interface is similar to Function functional interface. It takes an input and produces an output. The difference lies in the number of inputs taken by the BiFunction functional interface. Function functional interface takes one input and produced one…… Continue reading BiFunction Example