Add PlaylistTab.hashCode() matching equals
This commit is contained in:
parent
9b4c7e6644
commit
ad2e1dcf03
1 changed files with 12 additions and 0 deletions
|
|
@ -618,6 +618,18 @@ public abstract class Tab {
|
||||||
&& playlistType == other.playlistType;
|
&& playlistType == other.playlistType;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(
|
||||||
|
getTabId(),
|
||||||
|
playlistServiceId,
|
||||||
|
playlistId,
|
||||||
|
playlistUrl,
|
||||||
|
playlistName,
|
||||||
|
playlistType
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
public int getPlaylistServiceId() {
|
public int getPlaylistServiceId() {
|
||||||
return playlistServiceId;
|
return playlistServiceId;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue