package org.simpleframework.xml.util; import java.util.AbstractSet; import java.util.HashMap; import java.util.Iterator; import org.simpleframework.xml.util.Entry; /* loaded from: classes6.dex */ public class Dictionary extends AbstractSet { protected final Table map = new Table<>(); /* JADX INFO: Access modifiers changed from: package-private */ /* loaded from: classes6.dex */ public static class Table extends HashMap { } @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set public boolean add(T t) { return this.map.put(t.getName(), t) != null; } @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set public int size() { return this.map.size(); } @Override // java.util.AbstractCollection, java.util.Collection, java.lang.Iterable, java.util.Set public Iterator iterator() { return this.map.values().iterator(); } public T get(String str) { return this.map.get(str); } public T remove(String str) { return this.map.remove(str); } }