public final boolean hasResourcesOfType ( final ResourceType resourceType ) { notNull ( resourceType , "ResourceType cannot be null!" ) ; for ( final Resource resource : resources ) { if ( resourceType . equals ( resource . getType ( ) ) ) { return true ; } } return false ; }
Check if the group has at least one resource of some type .