void (UserDefinedJsonSchemaConfiguration configuration) { for (Map.Entry<String, UserDefinedJsonSchemaConfiguration> entry : myState.myState.entrySet()) { if (entry.getValue() == configuration) { myState.myState.remove(entry.getKey()); return; } } }