Package coneforest.cli
Class OptionCounter
java.lang.Object
coneforest.cli.Option
coneforest.cli.OptionWithoutArg
coneforest.cli.OptionCounter
Class representing a counter. Integer option value, initially zero,
increments every time when option is processed.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
OptionCounter
-
-
Method Details
-
getValue
Returns current option value. -
handle
public void handle()Increments option value by one.- Specified by:
handle
in classOptionWithoutArg
-