code: public NavigationResultBuilder add(NavigationResult result)
     {
        if (result != null && result.getNext() != null)
        {
           entries.addAll(Arrays.asList(result.getNext()));
        }
        return this;
     }
docs: Add a UICommand instance to create a single navigation entry.
  
  @param result The NavigationResult to add
  @return This NavigationResultBuilder instance