39 lines
1.5 KiB
Java
39 lines
1.5 KiB
Java
package com.discord.stores;
|
|
|
|
import com.discord.utilities.persister.Persister;
|
|
import d0.t.u;
|
|
import d0.z.d.o;
|
|
import java.util.ArrayList;
|
|
import java.util.Set;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function1;
|
|
/* compiled from: StoreDirectories.kt */
|
|
public final class StoreDirectories$init$2 extends o implements Function1<Set<? extends Long>, Unit> {
|
|
public final /* synthetic */ StoreDirectories this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public StoreDirectories$init$2(StoreDirectories storeDirectories) {
|
|
super(1);
|
|
this.this$0 = storeDirectories;
|
|
}
|
|
|
|
/* Return type fixed from 'java.lang.Object' to match base method */
|
|
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
|
|
@Override // kotlin.jvm.functions.Function1
|
|
public /* bridge */ /* synthetic */ Unit invoke(Set<? extends Long> set) {
|
|
invoke((Set<Long>) set);
|
|
return Unit.a;
|
|
}
|
|
|
|
public final void invoke(Set<Long> set) {
|
|
Persister access$getHubNamePromptPersister$p = StoreDirectories.access$getHubNamePromptPersister$p(this.this$0);
|
|
ArrayList arrayList = new ArrayList();
|
|
for (Object obj : (Set) StoreDirectories.access$getHubNamePromptPersister$p(this.this$0).get()) {
|
|
if (set.contains(Long.valueOf(((Number) obj).longValue()))) {
|
|
arrayList.add(obj);
|
|
}
|
|
}
|
|
Persister.set$default(access$getHubNamePromptPersister$p, u.toSet(arrayList), false, 2, null);
|
|
}
|
|
}
|