mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-11 11:36:59 +07:00
9 lines
189 B
Java
9 lines
189 B
Java
// "Replace Stream API chain with loop" "true"
|
|
|
|
import java.util.List;
|
|
|
|
public class Main {
|
|
public long test(List<String> list) {
|
|
return list.stream().distinct().c<caret>ount();
|
|
}
|
|
} |