Java集合类常用操作(持续更新)

数组

判断数组里是否有某元素

Arrays.asList(whiteListArray).contains(userId);

  

原文地址:https://www.cnblogs.com/sunang/p/15718226.html