/** * Removes a given Tag from the structure * @param field */ private synchronized void removeTag(TagValue field){ this.tagNameMappings.remove(field.getTagNumber()); this.tagValueMappings.remove(field.getTagNumber()); }
public void close(long fd) throws IOException { File f = get(fd); assert f instanceof org.kframework.krun.ioserver.filesystem.portable.File; ((org.kframework.krun.ioserver.filesystem.portable.File)f).close(); files.remove(descriptors.get(fd)); descriptors.remove(fd); }