code: public Assignment outcomeToAssignment(String[] factorVariables, Object[] outcome) {
      return outcomeToAssignment(Arrays.asList(factorVariables), Arrays.asList(outcome));
    }
docs: Identical to {@link #outcomeToAssignment(List, List)}, but with
  arrays.
  
  @param factorVariables
  @param outcome
  @return