Created
November 6, 2018 10:14
-
-
Save jetrubyshared/f4aad6812f15597ff3220aaf417d49cd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Track { | |
private String artist; | |
private String title; | |
private boolean isLiked; | |
private boolean isPlaying; | |
public Track(String artist, String title) { | |
this.artist = artist; | |
this.title = title; | |
} | |
public String getArtist() { | |
return artist; | |
} | |
public void setArtist(String artist) { | |
this.artist = artist; | |
} | |
public String getTitle() { | |
return title; | |
} | |
public void setTitle(String title) { | |
this.title = title; | |
} | |
public boolean isLiked() { | |
return isLiked; | |
} | |
public void setLiked(boolean liked) { | |
isLiked = liked; | |
} | |
public boolean isPlaying() { | |
return isPlaying; | |
} | |
public void setPlaying(boolean playing) { | |
isPlaying = playing; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment