Package org.benf.cfr.reader.util.getopt
Class OptionsImpl.DefaultChainBooleanDecoder
java.lang.Object
org.benf.cfr.reader.util.getopt.OptionsImpl.DefaultChainBooleanDecoder
- All Implemented Interfaces:
TrinaryFunction<String,
,Void, Options, Boolean> OptionDecoder<Boolean>
,OptionDecoderParam<Boolean,
Void>
- Enclosing class:
- OptionsImpl
private static class OptionsImpl.DefaultChainBooleanDecoder
extends Object
implements OptionDecoder<Boolean>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final PermittedOptionProvider.Argument<Boolean>
private final boolean
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultChainBooleanDecoder
(PermittedOptionProvider.Argument<Boolean> chain, boolean negate) -
Method Summary
Modifier and TypeMethodDescription
-
Field Details
-
chain
-
negate
private final boolean negate
-
-
Constructor Details
-
DefaultChainBooleanDecoder
DefaultChainBooleanDecoder(PermittedOptionProvider.Argument<Boolean> chain, boolean negate)
-
-
Method Details
-
getRangeDescription
- Specified by:
getRangeDescription
in interfaceOptionDecoderParam<Boolean,
Void>
-
getDefaultValue
- Specified by:
getDefaultValue
in interfaceOptionDecoderParam<Boolean,
Void>
-
invoke
-