code: public static Collection map(Mapper mapper, Object[] arr, boolean allowNull) {
          return map(mapper, java.util.Arrays.asList(arr), allowNull);
      }
docs: Return the results of mapping all objects with the mapper.
  
  @param mapper an Mapper
  @param arr an     array of objects
  @param allowNull allow null values
  
  @return a Collection of the results.