检查一个数组包含一个值

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