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