57 lines
1.3 KiB
Java
57 lines
1.3 KiB
Java
|
package d0.g0;
|
||
|
|
||
|
import c.d.b.a.a;
|
||
|
import d0.z.d.m;
|
||
|
import kotlin.ranges.IntRange;
|
||
|
/* compiled from: Regex.kt */
|
||
|
public final class e {
|
||
|
public final String a;
|
||
|
public final IntRange b;
|
||
|
|
||
|
public e(String str, IntRange intRange) {
|
||
|
m.checkNotNullParameter(str, "value");
|
||
|
m.checkNotNullParameter(intRange, "range");
|
||
|
this.a = str;
|
||
|
this.b = intRange;
|
||
|
}
|
||
|
|
||
|
public boolean equals(Object obj) {
|
||
|
if (this == obj) {
|
||
|
return true;
|
||
|
}
|
||
|
if (!(obj instanceof e)) {
|
||
|
return false;
|
||
|
}
|
||
|
e eVar = (e) obj;
|
||
|
return m.areEqual(this.a, eVar.a) && m.areEqual(this.b, eVar.b);
|
||
|
}
|
||
|
|
||
|
public final IntRange getRange() {
|
||
|
return this.b;
|
||
|
}
|
||
|
|
||
|
public final String getValue() {
|
||
|
return this.a;
|
||
|
}
|
||
|
|
||
|
public int hashCode() {
|
||
|
String str = this.a;
|
||
|
int i = 0;
|
||
|
int hashCode = (str != null ? str.hashCode() : 0) * 31;
|
||
|
IntRange intRange = this.b;
|
||
|
if (intRange != null) {
|
||
|
i = intRange.hashCode();
|
||
|
}
|
||
|
return hashCode + i;
|
||
|
}
|
||
|
|
||
|
public String toString() {
|
||
|
StringBuilder L = a.L("MatchGroup(value=");
|
||
|
L.append(this.a);
|
||
|
L.append(", range=");
|
||
|
L.append(this.b);
|
||
|
L.append(")");
|
||
|
return L.toString();
|
||
|
}
|
||
|
}
|