Class NumberIncrementorFactory

    • Constructor Detail

      • NumberIncrementorFactory

        public NumberIncrementorFactory​(boolean fPostIncrement)
        Construct an instance of NumberIncrementorFactory.
        Parameters:
        fPostIncrement - pass true to create NumberIncrementors that will return value as it was before it was incremented, or pass false to create NumberIncrementors that will return the value as it is after it is incremented
    • Method Detail

      • toNumber

        protected static Number toNumber​(String sNumber)
        Convert the given string into a number.
        Parameters:
        sNumber - number as a string
        Returns:
        numeric representation of the string