question: private synchronized void saveToSettings ( ) { List < List > entriesToSave = new ArrayList < > ( ) ; for ( StatusHistoryEntry entry : entries . values ( ) ) { entriesToSave . add ( entryToList ( entry ) ) ; } settings . putList ( "statusPresets" , entriesToSave ) ; }
target:  Turns all entries into a list and adds them to a list that is saved in the settings.