Class LongToEnglishQueryMaker

  • All Implemented Interfaces:

    public class LongToEnglishQueryMaker
    extends Object
    implements QueryMaker
    Creates queries whose content is a spelled-out long number starting from Long.MIN_VALUE + 10.
    • Constructor Detail

      • LongToEnglishQueryMaker

        public LongToEnglishQueryMaker()
    • Method Detail

      • makeQuery

        public Query makeQuery​(int size)
                        throws Exception
        Description copied from interface: QueryMaker
        Create the next query, of the given size.
        Specified by:
        makeQuery in interface QueryMaker
        size - the size of the query - number of terms, etc.
        Exception - if cannot make the query, or if size > 0 was specified but this feature is not supported.
      • resetInputs

        public void resetInputs()
        Description copied from interface: QueryMaker
        Reset inputs so that the test run would behave, input wise, as if it just started.
        Specified by:
        resetInputs in interface QueryMaker