nl: compare the resource groups by name null concode_field_sep String ALLRESOURCESBYTYPE_QUERY concode_elem_sep Set<FavoriteResourceEntity> favorites concode_elem_sep String fcExternalKey concode_elem_sep Set<ResourceActivationEntity> resourceActivationEntities concode_elem_sep long serialVersionUID concode_elem_sep ReleaseEntity outOfServiceRelease concode_elem_sep Set<ResourceEntity> resources concode_elem_sep Set<TemplateDescriptorEntity> runtimeTemplateDescriptors concode_elem_sep long v concode_elem_sep String fcExternalLink concode_elem_sep String name concode_elem_sep Integer id concode_elem_sep ResourceTypeEntity resourceType concode_field_sep void setName concode_elem_sep ReleaseEntity getNewestRelease concode_elem_sep void setFcExternalLink concode_elem_sep ReleaseEntity getFirstRelease concode_elem_sep String getFcExternalLink concode_elem_sep String getFcExternalKey concode_elem_sep void setResourceType concode_elem_sep void setFcExternalKey concode_elem_sep String toString concode_elem_sep SortedSet<ReleaseEntity> getReleases concode_elem_sep boolean isAppServerContainer
code: int function ( ResourceGroupEntity arg0 ) { if ( arg0 == null ) { return 1 ; } else { if ( getName ( ) == null ) { return arg0 . getName ( ) == null ? 0 : - 1 ; } else { return arg0 . getName ( ) == null ? 1 : getName ( ) . compareTo ( arg0 . getName ( ) ) ; } } }