code: public static <IN, OUT> List<OUT> create(Collection<IN> collection, Creator<IN, OUT> creator) {
          if (collection == null) {
              return null;
          }
  
          ArrayList<OUT> list = new ArrayList<>(collection.size());
  
          for (IN value : collection) {
              OUT item = value == null ? null : creator.create(value);
              if (item != null) {
                  list.add(item);
              }
          }
  
          return list;
      }
docs: Creates list of output objects using provided creator.