void (String key, String value) { for (Bin bin : getMembers()) { if (bin instanceof StringTableEntry entry && bin.getName().equals(key)) { entry.setValue(value); return; } } throw new IllegalStateException("Could not find string with key: " + key); }