首页天道酬勤run enable什么意思,callablelambda

run enable什么意思,callablelambda

张世龙 05-05 20:31 7次浏览

1、源代码比较//runable @ functionalinterfacepublicinterfacerunnable {/* * * whenanobjectimplementinginterfacecoderunable/startingthethreadcausestheobject ' s * code run/codemethodtobecalledinthatseparatelyexecuting * thread.* p * thegeneralconter codeisthatitmay * takeanyactionwhatsoever.* * @ see Java.lang.thread # run ()//callable @ functionalinterfacepubliction orthrowsanexceptionifunabletodoso.* * @ returncomputedresult * @ throwsexceptionifunabletocomputearesult */vcall () 2,2

plead和please有什么区别,callable类型