Class CharacterIteration


  • public final class CharacterIteration
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int DONE32  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private CharacterIteration()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int current32​(java.text.CharacterIterator ci)  
      static int next32​(java.text.CharacterIterator ci)
      Move the iterator forward to the next code point, and return that code point, leaving the iterator positioned at char returned.
      static int nextTrail32​(java.text.CharacterIterator ci, int lead)  
      static int previous32​(java.text.CharacterIterator ci)  
      • Methods inherited from class java.lang.Object

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

      • CharacterIteration

        private CharacterIteration()
    • Method Detail

      • next32

        public static int next32​(java.text.CharacterIterator ci)
        Move the iterator forward to the next code point, and return that code point, leaving the iterator positioned at char returned. For Supplementary chars, the iterator is left positioned at the lead surrogate.
        Parameters:
        ci - The character iterator
        Returns:
        The next code point.
      • nextTrail32

        public static int nextTrail32​(java.text.CharacterIterator ci,
                                      int lead)
      • previous32

        public static int previous32​(java.text.CharacterIterator ci)
      • current32

        public static int current32​(java.text.CharacterIterator ci)