Class CountArgumentAction

java.lang.Object
net.sourceforge.argparse4j.impl.action.CountArgumentAction
All Implemented Interfaces:
ArgumentAction

public class CountArgumentAction extends Object implements ArgumentAction

Argument action to count the occurrence of the option.

In addition, it creates default value of 0. Thus the type of this argument is of type Integer. consumeArgument() always returns false.

  • Constructor Details

    • CountArgumentAction

      public CountArgumentAction()
  • Method Details