67 lines
2.0 KiB
Java
67 lines
2.0 KiB
Java
|
package o;
|
||
|
|
||
|
import android.content.SharedPreferences;
|
||
|
import java.util.LinkedHashSet;
|
||
|
import java.util.List;
|
||
|
import java.util.Set;
|
||
|
import o.InterfaceC9135ddx;
|
||
|
import o.PRA;
|
||
|
|
||
|
/* renamed from: o.azy, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes4.dex */
|
||
|
public class C3569azy extends ZI<InterfaceC9135ddx.IeS> {
|
||
|
private List<RW> b;
|
||
|
private final String d;
|
||
|
public final SharedPreferences e;
|
||
|
|
||
|
public C3569azy(SharedPreferences sharedPreferences, String str, List<RW> list) {
|
||
|
super(null);
|
||
|
this.e = sharedPreferences;
|
||
|
this.d = str;
|
||
|
this.b = list;
|
||
|
}
|
||
|
|
||
|
public List<Integer> d() {
|
||
|
final Set<String> stringSet = this.e.getStringSet(this.d, new LinkedHashSet());
|
||
|
YKU b = new YKU(this.b).b(new Jel(stringSet) { // from class: o.azB
|
||
|
private Set e;
|
||
|
|
||
|
@Override // o.Jel
|
||
|
public final boolean e(Object obj) {
|
||
|
return this.e.contains(((RW) obj).d);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.e = stringSet;
|
||
|
}
|
||
|
});
|
||
|
return (List) new YKU(b.a, new wxK(b.b, new InterfaceC1244Ytw() { // from class: o.azz
|
||
|
@Override // o.InterfaceC1244Ytw
|
||
|
public final Object d(Object obj) {
|
||
|
return Integer.valueOf(((RW) obj).c);
|
||
|
}
|
||
|
})).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8()));
|
||
|
}
|
||
|
|
||
|
@Override // o.ZI
|
||
|
public void w_() {
|
||
|
a();
|
||
|
super.w_();
|
||
|
}
|
||
|
|
||
|
public final void a() {
|
||
|
YKU yku = new YKU(this.b);
|
||
|
this.e.edit().putStringSet(this.d, (Set) new YKU(yku.a, new wxK(yku.b, new InterfaceC1244Ytw() { // from class: o.azD
|
||
|
@Override // o.InterfaceC1244Ytw
|
||
|
public final Object d(Object obj) {
|
||
|
return ((RW) obj).d;
|
||
|
}
|
||
|
})).a(new PRA.Sts(new PRA.AnonymousClass9(), new PRA.AnonymousClass6()))).apply();
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: protected */
|
||
|
public final void e(List<RW> list) {
|
||
|
this.b = list;
|
||
|
}
|
||
|
}
|