A B C D G H I L M N P R S T
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- add(int, E) - Method in class MediaPlayer.LinkedList
-
Adds an element at the specified index
- addFirst(E) - Method in class MediaPlayer.LinkedList
-
Adds an element to the beginning of the list
- addLast(E) - Method in class MediaPlayer.LinkedList
-
Adds an element to the end of the list
- addSong(Song) - Method in class MediaPlayer.PlaylistController
-
Adds a song to the end of the playlist.
B
- BetterLinkedList<E> - Class in MediaPlayer
-
BetterLinkedList class Extends (my custom) LinkedList class Adds the ability to elements and sort them.
- BetterLinkedList() - Constructor for class MediaPlayer.BetterLinkedList
C
- clear() - Method in class MediaPlayer.LinkedList
-
Clears the list, removing all elements
- clearPlaylist() - Method in class MediaPlayer.PlaylistController
-
Clears all songs from the playlist.
- compareTo(Song) - Method in class MediaPlayer.Song
- contains(E) - Method in class MediaPlayer.LinkedList
-
Checks if the list contains the specified element
D
- data - Variable in class MediaPlayer.LinkedList.Node
G
- get(int) - Method in class MediaPlayer.LinkedList
-
Returns the element at the specified index without removing it
- getAlbum() - Method in class MediaPlayer.Song
- getAllSongs() - Method in class MediaPlayer.PlaylistController
-
Gets all songs in the playlist.
- getAllSongs() - Method in class MediaPlayer.SongDatabaseController
-
Get all songs in the database.
- getArtist() - Method in class MediaPlayer.Song
- getDuration() - Method in class MediaPlayer.Song
- getFirst() - Method in class MediaPlayer.LinkedList
-
Returns the first element in the list without removing it
- getLast() - Method in class MediaPlayer.LinkedList
-
Returns the last element in the list without removing it
- getSize() - Method in class MediaPlayer.PlaylistController
-
Gets the current size of the playlist.
- getSize() - Method in class MediaPlayer.SongDatabaseController
-
Get the number of songs in the database.
- getSongAt(int) - Method in class MediaPlayer.PlaylistController
-
Gets a song from the playlist at a specific index.
- getSongAt(int) - Method in class MediaPlayer.SongDatabaseController
-
Get a song from the database by its index.
- getTitle() - Method in class MediaPlayer.Song
H
- head - Variable in class MediaPlayer.LinkedList
I
- indexOf(E) - Method in class MediaPlayer.LinkedList
-
Returns the index of the first occurrence of the specified element
- isEmpty() - Method in class MediaPlayer.LinkedList
-
Checks if the list is empty
- iterator() - Method in class MediaPlayer.LinkedList
L
- LinkedList<E> - Class in MediaPlayer
-
LinkedList class A implementation of a singly linked list data structure with a head pointer.
- LinkedList() - Constructor for class MediaPlayer.LinkedList
-
Default constructor for the LinkedList class Creates an empty list
- LinkedList.Node - Class in MediaPlayer
-
Node class for the LinkedList Contains data and a reference to the next node
- loadSongDatabase() - Method in class MediaPlayer.SongDatabaseController
-
Loads the song database from the CSV file.
M
- main(String[]) - Static method in class MediaPlayer.MusicPlaylistManager
-
Main method to run the application.
- MediaPlayer - package MediaPlayer
- moveSongDown(int) - Method in class MediaPlayer.PlaylistController
-
Moves a song down one position in the playlist.
- moveSongUp(int) - Method in class MediaPlayer.PlaylistController
-
Moves a song up one position in the playlist.
- MusicPlaylistManager - Class in MediaPlayer
-
Main application class for the Music Playlist Manager.
- MusicPlaylistManager() - Constructor for class MediaPlayer.MusicPlaylistManager
-
Creates a new Music Playlist Manager application.
N
- next - Variable in class MediaPlayer.LinkedList.Node
- Node(E) - Constructor for class MediaPlayer.LinkedList.Node
-
Constructor for the Node class
- Node(E, LinkedList.Node) - Constructor for class MediaPlayer.LinkedList.Node
-
Constructor for the Node class
P
- PlaylistController - Class in MediaPlayer
-
Controller class that manages the playlist using a LinkedList data structure.
- PlaylistController(DefaultTableModel, JFrame) - Constructor for class MediaPlayer.PlaylistController
-
Creates a new PlaylistController.
R
- remove(int) - Method in class MediaPlayer.LinkedList
-
Removes and returns the element at the specified index
- removeFirst() - Method in class MediaPlayer.LinkedList
-
Removes and returns the first element in the list
- removeLast() - Method in class MediaPlayer.LinkedList
-
Removes and returns the last element in the list
- removeSong(int) - Method in class MediaPlayer.PlaylistController
-
Removes a song from the playlist at the given index.
- reverse() - Method in class MediaPlayer.LinkedList
-
Extra challenge: Reverses the list in place
S
- searchSongs(String) - Method in class MediaPlayer.SongDatabaseController
-
Searches the song database for songs matching the given query.
- size - Variable in class MediaPlayer.LinkedList
- size() - Method in class MediaPlayer.LinkedList
-
Returns the number of elements in the list
- Song - Class in MediaPlayer
-
Represents a song with basic metadata information.
- Song(String, String, String, String) - Constructor for class MediaPlayer.Song
-
Creates a new Song with the given attributes.
- SongDatabaseController - Class in MediaPlayer
-
Controller class that manages the song database and related table model.
- SongDatabaseController(DefaultTableModel, JFrame) - Constructor for class MediaPlayer.SongDatabaseController
-
Creates a new SongDatabaseController.
- sort() - Method in class MediaPlayer.BetterLinkedList
-
Sorts the elements in this list in ascending order.
- sortByTitle() - Method in class MediaPlayer.PlaylistController
-
Sorts the playlist alphabetically by song title.
- swap(int, int) - Method in class MediaPlayer.BetterLinkedList
-
Swaps the elements at the specified positions in this list.
- swapWithNext(int) - Method in class MediaPlayer.BetterLinkedList
-
Swaps the element at the specified position with the next element in this list.
T
- toPlaylistRow(int) - Method in class MediaPlayer.Song
-
Converts the song data to an array for playlist table display.
- toString() - Method in class MediaPlayer.LinkedList
-
Returns a string representation of the list
- toString() - Method in class MediaPlayer.Song
- toTableRow() - Method in class MediaPlayer.Song
-
Converts the song data to an array for database table display.
All Classes All Packages