public static List < TagEntryAO > tagsMapToTagEntries ( Map < String , String > tagsMap ) { if ( tagsMap == null ) return Collections . EMPTY_LIST ; List < TagEntryAO > tagEntries = new ArrayList <> ( tagsMap . size ( ) ) ; for ( Map . Entry < String , String > entry : tagsMap . entrySet ( ) ) tagEntries . ( new TagEntryAO ( entry . getKey ( ) , entry . getValue ( ) ) ) ; return tagEntries ; }
Creates tags info beans from given tags map with tag names as keys and tag values as map values