blob: 9f1ef54d04bce74e2546a920f8fe9b957652d6e5 [file]
// "Replace with 'List.contains()'" "true"
import java.util.Arrays;
public class Main {
public boolean find(String[] data, String key) {
return Arrays.stream(data).anyMat<caret>ch(key::equals);
}
}