JAVA - Check the value exists in an array

Check if a value exists in an array: 
 
Arrays.asList(someArray).contains(value);
 
 
** It's not workd for array of integer, but array of string is ok. 

Popular posts from this blog

SAP CPI - Loop Process Call with SuccessFactor (oData V2)

Setting IntelliJ IDEA to run Groovy Script

C# - BASE64 to Image