Inthisbook,youwilldiscoverhowtheseeminglyminorchangesthatintroducelambdaexpressionsmakethispossible.YouwilllearnhowlambdaexpressionsenableyoutowriteaJavafunctioninasinglelineofcode,andhowtousethiscapabilitytoprogramthenewStreamAPI,condensingverbosecollectionprocessingcodeintosimpleandreadablestreamprograms.StudyingthemechanismsthatcreateandconsumestreamswillleadtoananalysisoftheirperformanceandenableyoutojudgewhentoinvoketheparallelexecutionfeaturesoftheAPI.
2023/3/5 16:20:31
11.72MB
java
1