- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
38 lines
858 B
Java
38 lines
858 B
Java
package com.google.common.base;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class Absent extends Optional {
|
|
public static final Absent INSTANCE = new Absent();
|
|
private static final long serialVersionUID = 0;
|
|
|
|
private Object readResolve() {
|
|
return INSTANCE;
|
|
}
|
|
|
|
public static Optional withType() {
|
|
return INSTANCE;
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
return obj == this;
|
|
}
|
|
|
|
public int hashCode() {
|
|
return 2040732332;
|
|
}
|
|
|
|
@Override // com.google.common.base.Optional
|
|
public boolean isPresent() {
|
|
return false;
|
|
}
|
|
|
|
public String toString() {
|
|
return "Optional.absent()";
|
|
}
|
|
|
|
@Override // com.google.common.base.Optional
|
|
public Object get() {
|
|
throw new IllegalStateException("Optional.get() cannot be called on an absent value");
|
|
}
|
|
}
|