Java Streams: Convert Data Into Helpful Facts & Stats With reduce() Sometimes you need to take a whole bunch of data and convert it to just one number. You can do that easily with the reduce() method on a Java Stream object.