mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-01-11 18:00:32 +00:00
Add hashCode() to match equals(other)
This commit is contained in:
parent
882b235a78
commit
441c68ead2
@ -509,6 +509,11 @@ public abstract class PlayQueue implements Serializable {
|
|||||||
return streams.equals(other.streams);
|
return streams.equals(other.streams);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return streams.hashCode();
|
||||||
|
}
|
||||||
|
|
||||||
public boolean isDisposed() {
|
public boolean isDisposed() {
|
||||||
return disposed;
|
return disposed;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user