- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
40 lines
863 B
Java
40 lines
863 B
Java
package com.google.android.datatransport;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class Encoding {
|
|
public final String name;
|
|
|
|
public String getName() {
|
|
return this.name;
|
|
}
|
|
|
|
public static Encoding of(String str) {
|
|
return new Encoding(str);
|
|
}
|
|
|
|
public Encoding(String str) {
|
|
if (str == null) {
|
|
throw new NullPointerException("name is null");
|
|
}
|
|
this.name = str;
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (obj instanceof Encoding) {
|
|
return this.name.equals(((Encoding) obj).name);
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public int hashCode() {
|
|
return this.name.hashCode() ^ 1000003;
|
|
}
|
|
|
|
public String toString() {
|
|
return "Encoding{name=\"" + this.name + "\"}";
|
|
}
|
|
}
|