import java.util.*;
import java.util.stream.*;
import java.lang.*;
import java.io.*;
class Ideone {
List
<String
> strs
= Arrays.
asList("anus",
"pyos");
Stream.of(strs, ints)
.filter("anus"::equals)
.findAny()
.
ifPresent(System.
out::println
); // anus
Stream.of(strs, ints)
.
filter(o
-> Integer.
valueOf(265).
equals(o
)) .findAny()
.
ifPresent(System.
out::println
); // 265
Stream.of(strs, ints)
.parallel()
.filter("ty hui"::equals)
.findAny()
.
ifPresent(System.
out::println
); // no output }
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS51dGlsLnN0cmVhbS4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgpjbGFzcyBJZGVvbmUgewoJcHVibGljIHN0YXRpYyB2b2lkIG1haW4gKFN0cmluZ1tdIGFyZ3MpIHRocm93cyBqYXZhLmxhbmcuRXhjZXB0aW9uewogICAgICAgIExpc3Q8U3RyaW5nPiBzdHJzID0gQXJyYXlzLmFzTGlzdCgiYW51cyIsICJweW9zIik7CiAgICAgICAgTGlzdDxJbnRlZ2VyPiBpbnRzID0gQ29sbGVjdGlvbnMuc2luZ2xldG9uTGlzdCgyNjUpOwoKICAgICAgICBTdHJlYW0ub2Yoc3RycywgaW50cykKICAgICAgICAgICAgICAgIC5mbGF0TWFwKENvbGxlY3Rpb246OnN0cmVhbSkKICAgICAgICAgICAgICAgIC5maWx0ZXIoImFudXMiOjplcXVhbHMpCiAgICAgICAgICAgICAgICAuZmluZEFueSgpCiAgICAgICAgICAgICAgICAuaWZQcmVzZW50KFN5c3RlbS5vdXQ6OnByaW50bG4pOyAvLyBhbnVzCgogICAgICAgIFN0cmVhbS5vZihzdHJzLCBpbnRzKQogICAgICAgICAgICAgICAgLmZsYXRNYXAoQ29sbGVjdGlvbjo6c3RyZWFtKQogICAgICAgICAgICAgICAgLmZpbHRlcihvIC0+IEludGVnZXIudmFsdWVPZigyNjUpLmVxdWFscyhvKSkKICAgICAgICAgICAgICAgIC5maW5kQW55KCkKICAgICAgICAgICAgICAgIC5pZlByZXNlbnQoU3lzdGVtLm91dDo6cHJpbnRsbik7IC8vIDI2NQoKICAgICAgICBTdHJlYW0ub2Yoc3RycywgaW50cykKICAgICAgICAgICAgICAgIC5mbGF0TWFwKENvbGxlY3Rpb246OnN0cmVhbSkKICAgICAgICAgICAgICAgIC5wYXJhbGxlbCgpCiAgICAgICAgICAgICAgICAuZmlsdGVyKCJ0eSBodWkiOjplcXVhbHMpCiAgICAgICAgICAgICAgICAuZmluZEFueSgpCiAgICAgICAgICAgICAgICAuaWZQcmVzZW50KFN5c3RlbS5vdXQ6OnByaW50bG4pOyAvLyBubyBvdXRwdXQKCX0KfQ==