mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-14 09:57:16 +01:00
118 lines
6.7 KiB
Java
118 lines
6.7 KiB
Java
package androidx.paging;
|
|
|
|
import com.amazon.alexa.redesign.view.container.CardStudioAgentSpaceMetrics;
|
|
import kotlin.Metadata;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function3;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
import kotlin.jvm.internal.SourceDebugExtension;
|
|
import org.jetbrains.annotations.NotNull;
|
|
import org.jetbrains.annotations.Nullable;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@Metadata(d1 = {"\u0000@\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\n\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0000\u0018\u00002\u00020\u0001B1\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0003\u0012\u0006\u0010\u0006\u001a\u00020\u0007\u0012\n\b\u0002\u0010\b\u001a\u0004\u0018\u00010\u0007¢\u0006\u0002\u0010\tJ\u0013\u0010\u0011\u001a\u00020\u00122\b\u0010\u0013\u001a\u0004\u0018\u00010\u0001H\u0096\u0002J-\u0010\u0014\u001a\u00020\u00152\u001e\u0010\u0016\u001a\u001a\u0012\u0004\u0012\u00020\u0018\u0012\u0004\u0012\u00020\u0012\u0012\u0004\u0012\u00020\u0003\u0012\u0004\u0012\u00020\u00150\u0017H\u0000¢\u0006\u0002\b\u0019J\b\u0010\u001a\u001a\u00020\u001bH\u0016J\b\u0010\u001c\u001a\u00020\u001dH\u0016R\u0011\u0010\u0005\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000bR\u0013\u0010\b\u001a\u0004\u0018\u00010\u0007¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\rR\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\u000bR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u000bR\u0011\u0010\u0006\u001a\u00020\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\r¨\u0006\u001e"}, d2 = {"Landroidx/paging/CombinedLoadStates;", "", "refresh", "Landroidx/paging/LoadState;", "prepend", "append", "source", "Landroidx/paging/LoadStates;", "mediator", "(Landroidx/paging/LoadState;Landroidx/paging/LoadState;Landroidx/paging/LoadState;Landroidx/paging/LoadStates;Landroidx/paging/LoadStates;)V", "getAppend", "()Landroidx/paging/LoadState;", "getMediator", "()Landroidx/paging/LoadStates;", "getPrepend", "getRefresh", "getSource", "equals", "", CardStudioAgentSpaceMetrics.DimensionValue.SCHEME_OTHER, "forEach", "", "op", "Lkotlin/Function3;", "Landroidx/paging/LoadType;", "forEach$paging_common", "hashCode", "", "toString", "", "paging-common"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
|
@SourceDebugExtension({"SMAP\nCombinedLoadStates.kt\nKotlin\n*S Kotlin\n*F\n+ 1 CombinedLoadStates.kt\nandroidx/paging/CombinedLoadStates\n+ 2 LoadStates.kt\nandroidx/paging/LoadStates\n*L\n1#1,109:1\n36#2,4:110\n36#2,4:114\n*S KotlinDebug\n*F\n+ 1 CombinedLoadStates.kt\nandroidx/paging/CombinedLoadStates\n*L\n101#1:110,4\n104#1:114,4\n*E\n"})
|
|
/* loaded from: classes14.dex */
|
|
public final class CombinedLoadStates {
|
|
|
|
@NotNull
|
|
private final LoadState append;
|
|
|
|
@Nullable
|
|
private final LoadStates mediator;
|
|
|
|
@NotNull
|
|
private final LoadState prepend;
|
|
|
|
@NotNull
|
|
private final LoadState refresh;
|
|
|
|
@NotNull
|
|
private final LoadStates source;
|
|
|
|
public CombinedLoadStates(@NotNull LoadState loadState, @NotNull LoadState loadState2, @NotNull LoadState loadState3, @NotNull LoadStates loadStates, @Nullable LoadStates loadStates2) {
|
|
loadState.getClass();
|
|
loadState2.getClass();
|
|
loadState3.getClass();
|
|
loadStates.getClass();
|
|
this.refresh = loadState;
|
|
this.prepend = loadState2;
|
|
this.append = loadState3;
|
|
this.source = loadStates;
|
|
this.mediator = loadStates2;
|
|
}
|
|
|
|
public boolean equals(@Nullable Object other) {
|
|
if (this == other) {
|
|
return true;
|
|
}
|
|
if (!Intrinsics.areEqual(CombinedLoadStates.class, other != null ? other.getClass() : null)) {
|
|
return false;
|
|
}
|
|
other.getClass();
|
|
CombinedLoadStates combinedLoadStates = (CombinedLoadStates) other;
|
|
return Intrinsics.areEqual(this.refresh, combinedLoadStates.refresh) && Intrinsics.areEqual(this.prepend, combinedLoadStates.prepend) && Intrinsics.areEqual(this.append, combinedLoadStates.append) && Intrinsics.areEqual(this.source, combinedLoadStates.source) && Intrinsics.areEqual(this.mediator, combinedLoadStates.mediator);
|
|
}
|
|
|
|
public final void forEach$paging_common(@NotNull Function3<? super LoadType, ? super Boolean, ? super LoadState, Unit> op) {
|
|
op.getClass();
|
|
LoadStates loadStates = this.source;
|
|
LoadType loadType = LoadType.REFRESH;
|
|
LoadState refresh = loadStates.getRefresh();
|
|
Boolean bool = Boolean.FALSE;
|
|
op.invoke(loadType, bool, refresh);
|
|
LoadType loadType2 = LoadType.PREPEND;
|
|
op.invoke(loadType2, bool, loadStates.getPrepend());
|
|
LoadType loadType3 = LoadType.APPEND;
|
|
op.invoke(loadType3, bool, loadStates.getAppend());
|
|
LoadStates loadStates2 = this.mediator;
|
|
if (loadStates2 != null) {
|
|
LoadState refresh2 = loadStates2.getRefresh();
|
|
Boolean bool2 = Boolean.TRUE;
|
|
op.invoke(loadType, bool2, refresh2);
|
|
op.invoke(loadType2, bool2, loadStates2.getPrepend());
|
|
op.invoke(loadType3, bool2, loadStates2.getAppend());
|
|
}
|
|
}
|
|
|
|
@NotNull
|
|
public final LoadState getAppend() {
|
|
return this.append;
|
|
}
|
|
|
|
@Nullable
|
|
public final LoadStates getMediator() {
|
|
return this.mediator;
|
|
}
|
|
|
|
@NotNull
|
|
public final LoadState getPrepend() {
|
|
return this.prepend;
|
|
}
|
|
|
|
@NotNull
|
|
public final LoadState getRefresh() {
|
|
return this.refresh;
|
|
}
|
|
|
|
@NotNull
|
|
public final LoadStates getSource() {
|
|
return this.source;
|
|
}
|
|
|
|
public int hashCode() {
|
|
int hashCode = (this.source.hashCode() + ((this.append.hashCode() + ((this.prepend.hashCode() + (this.refresh.hashCode() * 31)) * 31)) * 31)) * 31;
|
|
LoadStates loadStates = this.mediator;
|
|
return hashCode + (loadStates != null ? loadStates.hashCode() : 0);
|
|
}
|
|
|
|
@NotNull
|
|
public String toString() {
|
|
return "CombinedLoadStates(refresh=" + this.refresh + ", prepend=" + this.prepend + ", append=" + this.append + ", source=" + this.source + ", mediator=" + this.mediator + ')';
|
|
}
|
|
|
|
public /* synthetic */ CombinedLoadStates(LoadState loadState, LoadState loadState2, LoadState loadState3, LoadStates loadStates, LoadStates loadStates2, int i, DefaultConstructorMarker defaultConstructorMarker) {
|
|
this(loadState, loadState2, loadState3, loadStates, (i & 16) != 0 ? null : loadStates2);
|
|
}
|
|
}
|