It's not terribly clean, but you could use indexOf() and check if it returns -1. Better than breaking out a loop.
In recent weeks, there has been news of various features once proposed for JDK 7 that no longer are slated for this release. Although it is not unusual to reduce the scope of a major software project ...
一些您可能无法访问的结果已被隐去。
显示无法访问的结果