Java語(yǔ)法問(wèn)題
KeyedStream<WikipediaEditEvent,?String>?keyedEdits?=?edits.keyBy( (KeySelector<WikipediaEditEvent,?String>)?event?->?{?return?event.getUser();});
請(qǐng)問(wèn)這是什么語(yǔ)法特性?
KeyedStream<WikipediaEditEvent,?String>?keyedEdits?=?edits.keyBy( (KeySelector<WikipediaEditEvent,?String>)?event?->?{?return?event.getUser();});
請(qǐng)問(wèn)這是什么語(yǔ)法特性?
2021-05-10
舉報(bào)
2021-05-19
應(yīng)該是Java8 lambda+匿名內(nèi)部類(lèi) 語(yǔ)法?