SyntaxFix
Write A Post
Hire A Developer
Questions
There is a contains method for lists, so you should be able to do:
contains
Arrays.asList(yourArray).contains(yourObject);
Warning: this might not do what you (or I) expect, see Tom's comment below.