45 lines
1.1 KiB
Java
45 lines
1.1 KiB
Java
|
package com.kofax.kmc.ken.engines.processing;
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
public class DocumentDimensions {
|
||
|
private Float ib;
|
||
|
private Float ic;
|
||
|
|
||
|
public DocumentDimensions(Float f, Float f2) {
|
||
|
this.ib = f;
|
||
|
this.ic = f2;
|
||
|
}
|
||
|
|
||
|
public boolean equals(Object obj) {
|
||
|
if (this == obj) {
|
||
|
return true;
|
||
|
}
|
||
|
if (obj == null || getClass() != obj.getClass()) {
|
||
|
return false;
|
||
|
}
|
||
|
DocumentDimensions documentDimensions = (DocumentDimensions) obj;
|
||
|
Float f = this.ib;
|
||
|
if (f == null ? documentDimensions.ib != null : !f.equals(documentDimensions.ib)) {
|
||
|
return false;
|
||
|
}
|
||
|
Float f2 = this.ic;
|
||
|
Float f3 = documentDimensions.ic;
|
||
|
return f2 != null ? f2.equals(f3) : f3 == null;
|
||
|
}
|
||
|
|
||
|
public int hashCode() {
|
||
|
Float f = this.ib;
|
||
|
int hashCode = f != null ? f.hashCode() : 0;
|
||
|
Float f2 = this.ic;
|
||
|
return (hashCode * 31) + (f2 != null ? f2.hashCode() : 0);
|
||
|
}
|
||
|
|
||
|
public Float getShortEdge() {
|
||
|
return this.ib;
|
||
|
}
|
||
|
|
||
|
public Float getLongEdge() {
|
||
|
return this.ic;
|
||
|
}
|
||
|
}
|