1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-06-26 07:03:20 +00:00

Add hashCode() to match equals(other)

This commit is contained in:
Eric Xu 2021-05-21 18:00:46 -04:00 committed by Zhiheng Xu
parent 882b235a78
commit 441c68ead2

View File

@ -509,6 +509,11 @@ public abstract class PlayQueue implements Serializable {
return streams.equals(other.streams);
}
@Override
public int hashCode() {
return streams.hashCode();
}
public boolean isDisposed() {
return disposed;
}