检查一个数组包含一个值

  1. Arrays.asList(arr).contains(targetValue);  
posted @ 2015-02-13 16:26  奔跑的蚂蚁aa  阅读(146)  评论(0)    收藏  举报