>>153
Arrays.stream(array).anyMatch(x -> x.equals(あるstring))
やってることはforと同じなので頻度が高い場合はHashSet使ったほうがいい