public Map < String , Collection < Message > > getGrouped ( ) { if ( grouped == null ) { grouped = FluentIterable . from ( delegate ) . index ( byCategoryMapping ( ) ) . asMap ( ) ; } return grouped ; }
Return messages grouped by category . This method can useful if you want to get messages for a specific category .