@Test public void testNonOptArgOrder() throws SoarException { op.newOption(alpha).newOption(bravo).newOption(charlie).done(); verifyabc(Lists.newArrayList("command", "--alpha", "--bravo", "--charlie", "1", "2", "3")); verifyabc(Lists.newArrayList("command", "--alpha", "--bravo", "1", "--charlie", "2", "3")); verifyabc(Lists.newArrayList("command", "--alpha", "1", "--bravo", "--charlie", "2", "3")); verifyabc(Lists.newArrayList("command", "--alpha", "1", "--bravo", "2", "--charlie", "3")); verifyabc(Lists.newArrayList("command", "1", "--alpha", "--bravo", "2", "--charlie", "3")); verifyabc(Lists.newArrayList("command", "1", "--alpha", "2", "--bravo", "--charlie", "3")); verifyabc(Lists.newArrayList("command", "1", "--alpha", "2", "--bravo", "3", "--charlie")); verifyabc(Lists.newArrayList("command", "1", "2", "3", "--alpha", "--bravo", "--charlie")); }
public OptionBuilder newOption(E longOption) { return new OptionBuilder(longOption); }
OptionProcessor { public OptionBuilder newOption(E longOption) { return new OptionBuilder(longOption); } }
OptionProcessor { public OptionBuilder newOption(E longOption) { return new OptionBuilder(longOption); }  }
OptionProcessor { public OptionBuilder newOption(E longOption) { return new OptionBuilder(longOption); }  static OptionProcessor<T> create(); OptionBuilder newOption(E longOption); List<String> process(List<String> args); boolean has(E longOption); void set(E longOption); void unset(E longOption); void set(E longOption, String argument); String get(E longOption); int getInteger(E longOption); double getDouble(E longOption); float getFloat(E longOption); @Override String toString(); }
OptionProcessor { public OptionBuilder newOption(E longOption) { return new OptionBuilder(longOption); }  static OptionProcessor<T> create(); OptionBuilder newOption(E longOption); List<String> process(List<String> args); boolean has(E longOption); void set(E longOption); void unset(E longOption); void set(E longOption, String argument); String get(E longOption); int getInteger(E longOption); double getDouble(E longOption); float getFloat(E longOption); @Override String toString();  }