Class JTokenIterator

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, SequenceIterator, AtomicIterator

    public class JTokenIterator
    extends java.lang.Object
    implements AtomicIterator
    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 Summary

      Constructors 
      Constructor Description
      JTokenIterator​(java.lang.String input, java.util.regex.Pattern pattern)
      Construct a JTokenIterator.
    • Constructor Detail

      • JTokenIterator

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