public PatternTokenizerFactory(Map<String,String> args) {super(args);pattern = getPattern(args, PATTERN);group = getInt(args, GROUP, -1);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}
public PatternTokenizerFactory(IDictionary<string, string> args): base(args){m_pattern = GetPattern(args, PATTERN);m_group = GetInt32(args, GROUP, -1);if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}