what-the-bank/sources/org/bouncycastle/asn1/eac/BidirectionalMap.java

20 lines
563 B
Java

package org.bouncycastle.asn1.eac;
import java.util.Hashtable;
/* loaded from: classes6.dex */
public class BidirectionalMap extends Hashtable {
private static final long serialVersionUID = -7457289971962812909L;
Hashtable reverseMap = new Hashtable();
@Override // java.util.Hashtable, java.util.Dictionary, java.util.Map
public Object put(Object obj, Object obj2) {
this.reverseMap.put(obj2, obj);
return super.put(obj, obj2);
}
public Object getReverse(Object obj) {
return this.reverseMap.get(obj);
}
}