public final void addFolder ( @ NotNull final Folder folder ) { Contract . requireArgNotNull ( "folder" , folder ) ; if ( folders == null ) { folders = new ArrayList <> ( ) ; } folders . add ( folder ) ; }
Adds a folder to the list . If the list does not exist it s created .