- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
44 lines
1.1 KiB
Java
44 lines
1.1 KiB
Java
package kotlin.collections;
|
|
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
|
|
/* loaded from: classes5.dex */
|
|
public final class IndexedValue {
|
|
public final int index;
|
|
public final Object value;
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof IndexedValue)) {
|
|
return false;
|
|
}
|
|
IndexedValue indexedValue = (IndexedValue) obj;
|
|
return this.index == indexedValue.index && Intrinsics.areEqual(this.value, indexedValue.value);
|
|
}
|
|
|
|
public final int getIndex() {
|
|
return this.index;
|
|
}
|
|
|
|
public final Object getValue() {
|
|
return this.value;
|
|
}
|
|
|
|
public int hashCode() {
|
|
int hashCode = Integer.hashCode(this.index) * 31;
|
|
Object obj = this.value;
|
|
return hashCode + (obj == null ? 0 : obj.hashCode());
|
|
}
|
|
|
|
public String toString() {
|
|
return "IndexedValue(index=" + this.index + ", value=" + this.value + ')';
|
|
}
|
|
|
|
public IndexedValue(int i, Object obj) {
|
|
this.index = i;
|
|
this.value = obj;
|
|
}
|
|
}
|