Skip to content
Advertisement

Tag: currying

Writing Content to a Text File with Currying

I’m trying to write to a text file using the above method by applying the concept of currying. The first lambda expression receives the file path as parameter and the second one takes in a String value that should be written to the text file. The write method receives a BiConsumer argument because data is written differently depending on the

Advertisement