code: public static Variable[] getVariables(NameSpace ns, String[] names) {
          if (null == ns || null == names)
              return new Variable[0];
          return Stream.of(names).map(name->getVariable(ns, name))
              .filter(Objects::nonNull).toArray(Variable[]::new);
      }
docs: /*
  Get named list of variables from namespace