what-the-bank/sources/com/google/firebase/ml/vision/document/FirebaseVisionCloudDocument...

48 lines
1.7 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.google.firebase.ml.vision.document;
import com.google.android.gms.common.internal.Objects;
import com.google.android.gms.common.internal.Preconditions;
import java.util.ArrayList;
import java.util.List;
/* loaded from: classes2.dex */
public class FirebaseVisionCloudDocumentRecognizerOptions {
private final boolean zzawj;
private final List<String> zzaxr;
private FirebaseVisionCloudDocumentRecognizerOptions(List<String> list, boolean z) {
Preconditions.checkNotNull(list, "Provided hinted languages can not be null");
this.zzaxr = list;
this.zzawj = z;
}
/* loaded from: classes2.dex */
public static class Builder {
private List<String> zzaxr = new ArrayList();
private boolean zzawj = false;
public FirebaseVisionCloudDocumentRecognizerOptions build() {
return new FirebaseVisionCloudDocumentRecognizerOptions(this.zzaxr, this.zzawj);
}
}
public boolean equals(Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof FirebaseVisionCloudDocumentRecognizerOptions)) {
return false;
}
FirebaseVisionCloudDocumentRecognizerOptions firebaseVisionCloudDocumentRecognizerOptions = (FirebaseVisionCloudDocumentRecognizerOptions) obj;
return this.zzaxr.equals(firebaseVisionCloudDocumentRecognizerOptions.getHintedLanguages()) && this.zzawj == firebaseVisionCloudDocumentRecognizerOptions.zzawj;
}
public int hashCode() {
return Objects.hashCode(this.zzaxr, Boolean.valueOf(this.zzawj));
}
public List<String> getHintedLanguages() {
return this.zzaxr;
}
}