jimu-decompiled/sources/com/squareup/haha/perflib/Field.java
2025-05-13 19:24:51 +02:00

38 lines
836 B
Java

package com.squareup.haha.perflib;
import java.util.Arrays;
/* loaded from: classes.dex */
public final class Field {
private final String mName;
private final Type mType;
public Field(Type type, String str) {
this.mType = type;
this.mName = str;
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof Field)) {
return false;
}
Field field = (Field) obj;
return this.mType == field.mType && this.mName.equals(field.mName);
}
public final String getName() {
return this.mName;
}
public final Type getType() {
return this.mType;
}
public final int hashCode() {
return Arrays.hashCode(new Object[]{this.mType, this.mName});
}
}