List<Long> accountList = new ArrayList<>(Arrays.asList(accounts));
accountList.removeIf(str -> juxinGroup.getOwn().equals(str));
改为这样,报错解决
List<Long> accountList =Arrays.asList(accounts);
List<Long> accountList = new ArrayList<>(Arrays.asList(accounts));
java.lang.UnsupportedOperationException的解决方法、removeif方法报错
https://bangkaixin.com/archives/javalangunsupportedoperationexception%E7%9A%84%E8%A7%A3%E5%86%B3%E6%96%B9%E6%B3%95removeif%E6%96%B9%E6%B3%95%E6%8A%A5%E9%94%99