code: private Vector getValue(HashMap checkOptions) {
          Iterator It = checkOptions.keySet().iterator();
          Vector<String> vec = new Vector<String>();
          while (It.hasNext()) {
              String str = It.next().toString();
              OptionSpec oSpec = (OptionSpec) checkOptions.get(str);
              if (oSpec.getOptionRequired() == 1) {
                  vec.add(str);
              }
          }
          return vec;
      }
docs: /*
  taking out value of a particular key in the hashmap
  i.e checking for required =1 options