Package org.jparsec

Class RepeatTimesParser<T>

java.lang.Object
org.jparsec.Parser<List<T>>
org.jparsec.RepeatTimesParser<T>

final class RepeatTimesParser<T> extends Parser<List<T>>
  • Field Details

    • parser

      private final Parser<? extends T> parser
    • min

      private final int min
    • max

      private final int max
    • listFactory

      private final ListFactory<T> listFactory
  • Constructor Details

    • RepeatTimesParser

      RepeatTimesParser(Parser<? extends T> parser, int min, int max)
    • RepeatTimesParser

      RepeatTimesParser(Parser<? extends T> parser, int min, int max, ListFactory<T> listFactory)
  • Method Details