public static NavigationResultBuilder create(NavigationResult result)
   {
      NavigationResultBuilder builder = new NavigationResultBuilder();
      if (result != null && result.getNext() != null)
      {
         builder.entries.addAll(Arrays.asList(result.getNext()));
      }
      return builder;
   }
public static NavigationResultBuilder create ( NavigationResult result ) { NavigationResultBuilder builder = new NavigationResultBuilder ( ) ; if ( result != null && result . getNext ( ) != null ) { builder . entries . addAll ( Arrays . asList ( result . getNext ( ) ) ) ; } return builder ; }
Create a new instance of a NavigationResultBuilder using the provided NavigationResult instance as a base.

@param result A NavigationResult whose entries are used as the basis to eventually construct a new
NavigationResult through this NavigationResultBuilder.
@return A NavigationResultBuilder instance