mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-30 21:57:41 +07:00
GitOrigin-RevId: 8b2b63fc6db476ca0c2cfe5cadd84db6c4236d0f
11 lines
260 B
Plaintext
11 lines
260 B
Plaintext
import java.util.*;
|
|
|
|
public class Test {
|
|
<spot>private static final Set<String> FRUITS =
|
|
new HashSet<>(Arrays.asList("Apple", "Pear", "Banana"))</spot>;
|
|
|
|
boolean check(String fruit) {
|
|
return <spot>FRUITS.contains(fruit)</spot>;
|
|
}
|
|
}
|