addToQueue

public final Unit addToQueue(Song song)

Adds a song at the end of the Queue

Parameters

song

the song to be added


public final Unit addToQueue(Integer position)

Adds a song to a specific position/index to the queue

Parameters

position

index to where the song should be placed