public String getOptionValue(final String opName) { final OptionSetting temp = options.get(opName); if (temp == null) { return null; } return temp.getOptionValue(); }
public void addOption(final OptionSetting os, final boolean check) { if (check) { final int limit = options.size(); for (int i = 0; i < limit; ++i) { final String key = os.getOptionName(); if (options.containsKey(key)) { options.remove(key); break; } } } options.put(os.getOptionName(), os); }