public FavoriteResources favoriteResources() {
        if (favorites.get() == null) {
            favorites.compareAndSet(null, new FavoriteResourcesImpl(this));
        }
        return favorites.get();
    }
public FavoriteResources favoriteResources ( ) { if ( favorites . get ( ) == null ) { favorites . compareAndSet ( null , new FavoriteResourcesImpl ( this ) ) ; } return favorites . get ( ) ; }
Returns the FavoriteResources instance that provides access to Favorite resources.

@return the favorite resources