refactor: use stream.anyMatch(...) instead of for (...) if (...)
refactor: use stream.anyMatch(...) instead of for (...) if (...)

aterai/java-swing-tips,aterai/java-swing-tips,aterai/java-swing-tips,aterai/java-swing-tips