Which of the following statements is false?
a Files method lines creates a String containing the lines of text from a file.
b. Stream method flatMap receives a Function that maps an object into a stream—e.g., a line of text into words.
c. Pattern method splitAsStream uses a regular expression to tokenize a String.
d. Collectors method groupingBy with three arguments receives a classifier, a Map factory and a downstream Collector.
a. Files method lines creates a String containing the lines of text from a file. Actually, Files method lines creates a Stream
You might also like to view...
________ is the largest online image-sharing site in the world
A) Flickr B) MySpace C) Skype D) LinkedIn
The characteristics of data that can be added to a field are defined by the field ________
A) keys B) relationships C) properties D) criteria