public synchronized void reset() {
        mList = new LinkedList<>();
        mListIterator = mList.listIterator();
        mListPosition = 0;
        mCues = new HashSet<>();
        mCuesToAdd = new ArrayList<>();
        mCuesToRemove = new ArrayList<>();
        mModCount = 0;
        mLastUpdateModCount = 0;
    }
Resets the timeline to its initial empty state.
MediaPlayer/src/main/java/net/protyposis/android/mediaplayer/Timeline.java