public TemplateStats [ ] getTemplateStats ( ) { Collection < TemplateStats > collection = mStatsMap . values ( ) ; TemplateStats [ ] result = null ; if ( collection . size ( ) > 0 ) { result = collection . toArray ( new TemplateStats [ collection . size ( ) ] ) ; } return result ; }
Returns an array of template stats .