private void processValue(String value){
  if (hasValueSeparator()) {
    char sep=getValueSeparator();
    int index=value.indexOf(sep);
    while (index != -1) {
      if (values.size() == (numberOfArgs - 1)) {
        break;
      }
      add(value.substring(0,index));
      value=value.substring(index + 1);
      index=value.indexOf(sep);
    }
  }
  add(value);
}

private void processValue ( String value ) { if ( hasValueSeparator ( ) ) { char sep = getValueSeparator ( ) ; int index = value . indexOf ( sep ) ; while ( index != - 1 ) { if ( values . size ( ) == ( numberOfArgs - 1 ) ) { break ; } add ( value . substring ( 0 , index ) ) ; value = value . substring ( index + 1 ) ; index = value . indexOf ( sep ) ; } } add ( value ) ; }
processes the value . if this option has a value separator the value will have to be parsed into individual tokens . when n - 1 tokens have been processed and there are more value separators in the value , parsing is ceased and the remaining characters are added as a single token .
