org.eclipse.rdf4j.rio.helpers

## Class CodePointSequence

- java.lang.Object
- - org.eclipse.rdf4j.rio.helpers.CodePointSequence

- All Implemented Interfaces:
    Iterable<Integer>

      public class CodePointSequence
      extends Object
      implements Iterable<Integer>

  Helper class for working with Strings as sequences of Unicode code points.
  Author:
    Jeen Broekstra
  See Also:
    `CodePointIterator`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CodePointSequence(String charSequence)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Iterator<Integer>` | `iterator()`
    `int` | `length()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface java.lang.Iterable

      `forEach, spliterator`

- - ### Constructor Detail

    - #### CodePointSequence

          public CodePointSequence(String charSequence)

  - ### Method Detail

    - #### iterator

          public Iterator<Integer> iterator()

      Specified by:
        `iterator` in interface `Iterable<Integer>`

    - #### length

          public int length()

Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.