package o; import android.text.TextUtils; import java.security.MessageDigest; /* loaded from: classes.dex */ public final class wrW { private static final LWm e = new LWm() { // from class: o.wrW.5 @Override // o.wrW.LWm public final void d(byte[] bArr, Object obj, MessageDigest messageDigest) { } }; public final T a; final LWm b; final String c; volatile byte[] d; /* loaded from: classes.dex */ public interface LWm { void d(byte[] bArr, T t, MessageDigest messageDigest); } public static wrW c(String str) { return new wrW<>(str, null, e); } public static wrW a(String str, T t) { return new wrW<>(str, t, e); } public static wrW a(String str, T t, LWm lWm) { return new wrW<>(str, t, lWm); } private wrW(String str, T t, LWm lWm) { if (!TextUtils.isEmpty(str)) { this.c = str; this.a = t; if (lWm == null) { throw new NullPointerException("Argument must not be null"); } this.b = lWm; return; } throw new IllegalArgumentException("Must not be null or empty"); } public final boolean equals(Object obj) { if (obj instanceof wrW) { return this.c.equals(((wrW) obj).c); } return false; } public final int hashCode() { return this.c.hashCode(); } public final String toString() { StringBuilder sb = new StringBuilder("Option{key='"); sb.append(this.c); sb.append("'}"); return sb.toString(); } }