It's not terribly clean, but you could use indexOf() and check if it returns -1. Better than breaking out a loop.
What would be the best way to share variables/objects between different GUI elements in java? Basically I have several ArrayList objects I want my modal dialogs to have access to. Also, where is the ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results