Package org.jparsec.pattern
Class RepeatCharPredicatePattern
java.lang.Object
org.jparsec.pattern.Pattern
org.jparsec.pattern.RepeatCharPredicatePattern
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintmatch(CharSequence src, int begin, int end) Matches character range against the pattern.(package private) static intmatchRepeat(int n, CharPredicate predicate, CharSequence src, int length, int begin, int acc) toString()
-
Field Details
-
n
private final int n -
predicate
-
-
Constructor Details
-
RepeatCharPredicatePattern
RepeatCharPredicatePattern(int n, CharPredicate predicate)
-
-
Method Details
-
match
Description copied from class:PatternMatches character range against the pattern. The length of the range isend - begin. -
toString
-
matchRepeat
static int matchRepeat(int n, CharPredicate predicate, CharSequence src, int length, int begin, int acc)
-