mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
Override hashCode
This commit is contained in:
parent
2122677663
commit
bd9c88464e
1 changed files with 7 additions and 0 deletions
|
@ -43,6 +43,13 @@ abstract class VisualDownloadCached(
|
||||||
|
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override fun hashCode(): Int {
|
||||||
|
var result = currentBytes.hashCode()
|
||||||
|
result = 31 * result + totalBytes.hashCode()
|
||||||
|
result = 31 * result + data.hashCode()
|
||||||
|
return result
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
data class VisualDownloadChildCached(
|
data class VisualDownloadChildCached(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue