Class JTokenIterator

  • All Implemented Interfaces:, java.lang.AutoCloseable, SequenceIterator, AtomicIterator<StringValue>, UnfailingIterator

    public class JTokenIterator
    extends java.lang.Object
    implements AtomicIterator<StringValue>
    A JTokenIterator is an iterator over the strings that result from tokenizing a string using a regular expression, in this case a regular expression evaluated using the JDK regex engine
    • Constructor Detail

      • JTokenIterator

        public JTokenIterator​(java.lang.CharSequence input,
                              java.util.regex.Pattern pattern)
        Construct a JTokenIterator.