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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Int64Value next()
      Get the next atomic value in the sequence.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CharacterIterator

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