In Java, how can I test if an Array contains a certain value

Arrays.asList(arrayvalues).contains(yourValue)

Comments