Files
rr3-apk/decompiled/sources/com/google/common/base/Present.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

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();
}
}