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; } }