alexandroid/decompiled/jadx/sources/com/amazon/clouddrive/model/UsageDetail.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

55 lines
1.3 KiB
Java

package com.amazon.clouddrive.model;
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
/* loaded from: classes20.dex */
public class UsageDetail implements Comparable<UsageDetail> {
private long bytes;
private long count;
@Override // java.lang.Comparable
public int compareTo(UsageDetail usageDetail) {
if (usageDetail == null) {
return -1;
}
if (usageDetail == this) {
return 0;
}
if (getBytes() < usageDetail.getBytes()) {
return -1;
}
if (getBytes() > usageDetail.getBytes()) {
return 1;
}
if (getCount() < usageDetail.getCount()) {
return -1;
}
return getCount() > usageDetail.getCount() ? 1 : 0;
}
public boolean equals(Object obj) {
if (obj == this) {
return true;
}
return (obj instanceof UsageDetail) && compareTo((UsageDetail) obj) == 0;
}
public long getBytes() {
return this.bytes;
}
public long getCount() {
return this.count;
}
public int hashCode() {
return ((int) getBytes()) + 1 + ((int) getCount());
}
public void setBytes(long j) {
this.bytes = j;
}
public void setCount(long j) {
this.count = j;
}
}