void (final Class selectedClass, final String name) { List<ClientProperty> list = myPropertyMap.get(selectedClass.getName()); if (list != null) { for(ClientProperty prop: list) { if (prop.getName().equals(name)) { list.remove(prop); break; } } } }