package o; import java.util.Vector; /* loaded from: classes6.dex */ public class gmF implements InterfaceC15278gmL { Vector a = new Vector(); @Override // o.InterfaceC15278gmL public final void d(int i, C15277gmK c15277gmK) { C15277gmK c15277gmK2 = (C15277gmK) this.a.elementAt(i); c15277gmK.m = c15277gmK2.m; c15277gmK.l = c15277gmK2.l; c15277gmK.f = c15277gmK2.f; c15277gmK.k = c15277gmK2.k; c15277gmK.i = c15277gmK2.i; c15277gmK.n = c15277gmK2.c(); } private Integer a(String str) { for (int i = 0; i < this.a.size(); i++) { if (str.equals(((C15277gmK) this.a.elementAt(i)).m)) { return Integer.valueOf(i); } } return null; } @Override // o.InterfaceC15278gmL public final int e() { return this.a.size(); } /* JADX INFO: Access modifiers changed from: protected */ public final boolean c(gmF gmf) { int size = this.a.size(); if (size != gmf.a.size()) { return false; } for (int i = 0; i < size; i++) { C15277gmK c15277gmK = (C15277gmK) this.a.elementAt(i); Object c = c15277gmK.c(); if (gmf.a(c15277gmK.m) == null) { return false; } Integer a = gmf.a(c15277gmK.m); if (!c.equals(a != null ? ((C15277gmK) gmf.a.elementAt(a.intValue())).c() : null)) { return false; } } return true; } public final void a(String str, Object obj) { C15277gmK c15277gmK = new C15277gmK(); c15277gmK.m = str; c15277gmK.l = null; c15277gmK.k = obj == null ? C15281gmQ.b : obj.getClass(); c15277gmK.n = obj; this.a.addElement(c15277gmK); } }