Item 44: Favor the use of standard functional interfaces(优先使用标准函数式接口)
NowthatJavahaslambdas,bestpracticesforwritingAPIshavechangedconsiderably.Forexample,theTemplateMethodpattern[Gamma95],whereinasubclassoverridesaprimitivemethodtospecializethebehaviorofitssuperclass,is