コード例 #1
0
 public void add(AuthenticationInfo a) {
   if (a != null && list.addIfAbsent(a)) {
     config.setList(list);
     eventSender.fireEvent(new ChangeEvent(this));
   }
 }
コード例 #2
0
 public void remove(java.util.List<AuthenticationInfo> selectedObjects) {
   if (selectedObjects != null && list.removeAll(selectedObjects)) {
     config.setList(list);
     eventSender.fireEvent(new ChangeEvent(this));
   }
 }