舊版 反向連結 這是本文件的舊版! java, effective java Effective Java - Lambdas and Streams Prefer lambdas to anonymous classes Prefer method references to lambdas Favor the use of standard functional interfaces Prefer Collection to Stream as a return type Use caution when making streams parallel Reference Effective Java, 3/e View the discussion thread.