检查一个数组包含一个值

  1. Arrays.asList(arr).contains(targetValue);  
原文地址:https://www.cnblogs.com/run-the-ent/p/4290532.html