Get the parameters from the options.

@return the resulting parameters
192893
public Parameters parameters() {
        Parameters ps = new DefaultParameters()
                .setTimeLimit(timeout)
                .doRepair(repair)
                .doOptimize(optimize);

        if (single()) {
            ps.setVerbosity(verbosity);
        }
        if (chunk) {
            ps.setEnvironmentFactory(mo -> new EnvironmentBuilder().fromChunk().build());
        }
        return ps;
    }
148921
@Override
    public final Map<String, String[]> getProperties() {
        final MultivaluedMapPopulator<String, String> populator =
                new MultivaluedMapPopulator<String, String>();
        this.requestPropertiesManager.populateRequestProperties(
                this.servletRequest, portletWindow, populator);
        final Map<String, List<String>> map = populator.getMap();
        return ParameterMap.convertListMap(map);
    }
177480
public PreparedStatementSetter getParameters() {
		if (list.size() == 0) {
			return null;
		}
		PreparedStatementSetter param = new PreparedStatementSetter() {
			@Override
			public void setValues(PreparedStatement pstmt) {
				try {
					StatementParameter.this.setValues(pstmt);
				}
				catch (SQLException e) {
					throw new InvalidParamDataAccessException(e);
				}
			}

		};
		return param;
	}
856347
public List<Parameter> getAllParameters() {
        List<Parameter> ret = new ArrayList<Parameter>();

        ret.addAll(subject.getAllParameters());

        if (object != null) {
            if (object.getStatement() != null)
                ret.addAll(object.getStatement()
                        .getAllParameters());
            else
                ret.addAll(object.getTerm().getAllParameters());
        }

        return ret;
    }
179847
public final Collection<String> getParameters() {
        ArrayList<String> params = new ArrayList<String>();
        
        if( parameters == null ) {
            return params;
        }
        // we copy to guarantee that the caller does not screw up our internal storage
        params.addAll(Arrays.asList(parameters));
        return params;
    }
1060776
@Override
    public String[] getOptionValues() {
        String[] values = new String[valueOptions.size()];
        for (int i = 0; i < values.length; i++) {
            values[i] = valueOptions.get(i)[0];
        }
        return values;
    }
886463
public ParameterList getQueryStringParams() {
        try {
            final ParameterList result = new ParameterList();
            final String queryString = new URL(url).getQuery();
            result.addQuerystring(queryString);
            result.addAll(querystringParams);
            return result;
        } catch (MalformedURLException mue) {
            throw new OAuthException("Malformed URL", mue);
        }
    }
300947
public Parameter[] getBindParameters() {
		return bindNames.stream().map(this::getParam).filter(Objects::nonNull).toArray(Parameter[]::new);
	}
1094080
public java.util.List<ParameterObject> getParameterObjects() {
        if (parameterObjects == null) {
            parameterObjects = new com.amazonaws.internal.SdkInternalList<ParameterObject>();
        }
        return parameterObjects;
    }
606757
public Set<Parameter> getAllParameters() {
        final Set<Parameter> ret = new HashSet<Parameter>();
        for (final Term term : getAllTerms()) {
            List<Parameter> params = term.getParameters();
            if (params == null) {
                continue;
            }
            ret.addAll(params);
        }
        return ret;
    }
309965
public String[] getOptions() {
    Vector<String>	result;
    String[]		options;
    int			i;

    result = new Vector<String>();

    options = super.getOptions();
    for (i = 0; i < options.length; i++)
      result.add(options[i]);

    if (!getCustomDelimiter().isEmpty()) {
      result.add("-custom-delimiter");
      result.add("" + getCustomDelimiter());
    }

    result.add("-list");
    result.add("" + getList());

    return result.toArray(new String[result.size()]);	  
  }
1104679
@Pure
	@SuppressWarnings({"checkstyle:cyclomaticcomplexity", "checkstyle:npathcomplexity"})
	public static String[] getAllCommandLineParameters() {
		final int osize = commandLineOptions == null ? 0 : commandLineOptions.size();
		final int psize = commandLineParameters == null ? 0 : commandLineParameters.length;
		final int tsize = (osize > 0 && psize > 0) ? 1 : 0;
		final List<String> params = new ArrayList<>(osize + tsize);
		if (osize > 0) {
			List<Object> values;
			String name;
			String prefix;
			String v;
			for (final Entry<String, List<Object>> entry : commandLineOptions.entrySet()) {
				name = entry.getKey();
				prefix = (name.length() > 1) ? "--" : "-"; //$NON-NLS-1$ //$NON-NLS-2$
				values = entry.getValue();
				if (values == null || values.isEmpty()) {
					params.add(prefix + name);
				} else {
					for (final Object value : values) {
						if (value != null) {
							v = value.toString();
							if (v != null && v.length() > 0) {
								params.add(prefix + name + "=" + v); //$NON-NLS-1$
							} else {
								params.add(prefix + name);
							}
						}
					}
				}
			}
		}
		if (tsize > 0) {
			params.add("--"); //$NON-NLS-1$
		}

		final String[] tab = new String[params.size() + psize];
		params.toArray(tab);
		params.clear();

		if (psize > 0) {
			System.arraycopy(commandLineParameters, 0, tab, osize + tsize, psize);
		}
		return tab;
	}
1242031
public Collection<Parameter<?>> getParameters() {
        if (_parameters == null) {
            return Collections.<Parameter<?>>emptyList();
        }
        
        return Collections.unmodifiableCollection(_parameters);
    }
1260766
public JClass []getParameterTypes()
  {
    Class []types = _method.getParameterTypes();

    JClass []jTypes = new JClass[types.length];

    for (int i = 0; i < types.length; i++) {
      jTypes[i] = _loader.forName(types[i].getName());
    }

    return jTypes;
  }
1236452
@Override
    public String parameters() {
        StringBuilder result = new StringBuilder();
        Iterator<Pair> it = xy.iterator();
        while (it.hasNext()) {
            Pair pair = it.next();
            result.append(String.format("%s %s",
                    Op.str(pair.getX()), Op.str(pair.getY())));
            if (it.hasNext()) {
                result.append(" ");
            }
        }
        if (!Op.isEq(height, 1.0)) {
            result.append(String.format(" %s", Op.str(height)));
        }
        return result.toString();
    }
526491
@SuppressWarnings("unchecked")
    public List<String> getOptionValues(final String optionName) {
        if (optionName.length() == 1) {
            return getOptionValues(optionName.charAt(0));
        }

        return commandLine.getValues("--" + optionName);
    }
367787
public String getOptionValue(String opt)
    {
        String[] values = getOptionValues(opt);

        return (values == null) ? null : values[0];
    }