blob: 17705ea87ae5d9a21269f42c9f54e32e54061378 [file]
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>;
}
}