docs: public static Collection map(Mapper mapper, Enumeration en, boolean allowNull) {
          ArrayList l = new ArrayList();
          while (en.hasMoreElements()) {
              Object o = mapper.map(en.nextElement());
              if (allowNull || o != null) {
                  l.add(o);
              }
          }
          return l;
      }