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 ...
当前正在显示可能无法访问的结果。
隐藏无法访问的结果