Stream has a foreach terminal method therefore the conversion to list is unnecessary also there is a toList method on streams so collect is overcomplicated. Otherwise great video
@redcrafterlppa303
6 ай бұрын
Stream has a foreach terminal method therefore the conversion to list is unnecessary also there is a toList method on streams so collect is overcomplicated. Otherwise great video
Пікірлер: 3