- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
42 lines
1.0 KiB
Java
42 lines
1.0 KiB
Java
package com.google.common.base;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class Present extends Optional {
|
|
private static final long serialVersionUID = 0;
|
|
public final Object reference;
|
|
|
|
@Override // com.google.common.base.Optional
|
|
public Object get() {
|
|
return this.reference;
|
|
}
|
|
|
|
@Override // com.google.common.base.Optional
|
|
public boolean isPresent() {
|
|
return true;
|
|
}
|
|
|
|
public Present(Object obj) {
|
|
this.reference = obj;
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (obj instanceof Present) {
|
|
return this.reference.equals(((Present) obj).reference);
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public int hashCode() {
|
|
return this.reference.hashCode() + 1502476572;
|
|
}
|
|
|
|
public String toString() {
|
|
String valueOf = String.valueOf(this.reference);
|
|
StringBuilder sb = new StringBuilder(valueOf.length() + 13);
|
|
sb.append("Optional.of(");
|
|
sb.append(valueOf);
|
|
sb.append(")");
|
|
return sb.toString();
|
|
}
|
|
}
|