ne.removeAttribute((String) list.get(0).get()); }); }, (a,b)->b>0 && getSelectedNetworkElementsNorFr().stream().anyMatch(e->e.getAttributes().size()>0), null) , ne.getAttributes().keySet().forEach(a->ne.removeAttribute(a)); }, (a,b)->b>0 && getSelectedNetworkElementsNorFr().stream().anyMatch(e->e.getAttributes().size()>0), null) , expandCollapseAttributesOption));