Class DoubleArgument.DoubleParser<C>

    • Constructor Detail

      • DoubleParser

        public DoubleParser​(double min,
                            double max)
        Construct a new double parser
        min - Minimum value
        max - Maximum value
    • Method Detail

      • isContextFree

        public boolean isContextFree()
        Description copied from interface: ArgumentParser
        Check whether or not this argument parser is context free. A context free parser will not use the provided command context, and so supports impromptu parsing
        Specified by:
        isContextFree in interface ArgumentParser<C,​Double>
        true if the parser is context free, else false
      • getMax

        public double getMax()
        Get the max value
        Max value
      • getMin

        public double getMin()
        Get the min value
        Min value