高效比较以“,”分割的字符串中是否包含某数字

String[] pid=pids.split(",");
Arrays.asList(pid).contains("81")
posted @ 2017-04-25 18:07  小妮儿玩博客  阅读(195)  评论(0)    收藏  举报