Comment Comment by erkkonet starting with JDK 16, Stream has .toList() that will save you ten characters for the .collect() parent erkkonet 1 year ago