Class StringValue.CharacterIterator

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

    public static final class StringValue.CharacterIterator
    extends java.lang.Object
    implements AtomicIterator
    CharacterIterator is used to iterate over the characters in a string, returning them as integers representing the Unicode code-point.
    • Constructor Summary

      Constructors 
      Constructor Description
      CharacterIterator​(java.lang.CharSequence value)
      Create an iterator over a string
    • Constructor Detail

      • CharacterIterator

        public CharacterIterator​(java.lang.CharSequence value)
        Create an iterator over a string
        Parameters:
        value - the string