alexandroid/decompiled/jadx/sources/com/amazonaws/services/machinelearning/model/PredictResult.java
KaKi87 a47fad5135 📦 Add decompiled Alexa 2.2.730155.0 (jadx, apktool, Hermes strings)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 00:04:16 +01:00

50 lines
1.5 KiB
Java

package com.amazonaws.services.machinelearning.model;
import java.io.Serializable;
import org.apache.commons.text.StringSubstitutor;
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
/* loaded from: classes6.dex */
public class PredictResult implements Serializable {
private Prediction prediction;
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || !(obj instanceof PredictResult)) {
return false;
}
PredictResult predictResult = (PredictResult) obj;
if ((predictResult.getPrediction() == null) ^ (getPrediction() == null)) {
return false;
}
return predictResult.getPrediction() == null || predictResult.getPrediction().equals(getPrediction());
}
public Prediction getPrediction() {
return this.prediction;
}
public int hashCode() {
return 31 + (getPrediction() == null ? 0 : getPrediction().hashCode());
}
public void setPrediction(Prediction prediction) {
this.prediction = prediction;
}
public String toString() {
StringBuilder sb = new StringBuilder("{");
if (getPrediction() != null) {
sb.append("Prediction: " + getPrediction());
}
sb.append(StringSubstitutor.DEFAULT_VAR_END);
return sb.toString();
}
public PredictResult withPrediction(Prediction prediction) {
this.prediction = prediction;
return this;
}
}