mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-02 11:18:16 +07:00
17 lines
343 B
Java
17 lines
343 B
Java
// "Replace with anyMatch()" "true"
|
|
|
|
import java.util.*;
|
|
|
|
public class Main {
|
|
public List<? extends CharSequence> getList() {return Arrays.asList("a");}
|
|
public boolean test() {
|
|
for(CharSequence cs : ge<caret>tList()) {
|
|
String s = cs.toString();
|
|
if(!s.isEmpty()) {
|
|
return true;
|
|
}
|
|
}
|
|
return false;
|
|
}
|
|
}
|