Class BreakTransliterator.ReplaceableCharacterIterator

java.lang.Object
com.ibm.icu.text.BreakTransliterator.ReplaceableCharacterIterator
All Implemented Interfaces:
Cloneable, CharacterIterator
Enclosing class:
BreakTransliterator

static final class BreakTransliterator.ReplaceableCharacterIterator extends Object implements CharacterIterator
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private int
     
    private int
     
    private int
     
    private Replaceable
     

    Fields inherited from interface java.text.CharacterIterator

    DONE
  • Constructor Summary

    Constructors
    Constructor
    Description
    ReplaceableCharacterIterator(Replaceable text, int begin, int end, int pos)
    Constructs an iterator over the given range of the given string, with the index set at the specified position.
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates a copy of this iterator.
    char
    Implements CharacterIterator.current() for String.
    boolean
    Compares the equality of two ReplaceableCharacterIterator objects.
    char
    Implements CharacterIterator.first() for String.
    int
    Implements CharacterIterator.getBeginIndex() for String.
    int
    Implements CharacterIterator.getEndIndex() for String.
    int
    Implements CharacterIterator.getIndex() for String.
    int
    Computes a hashcode for this iterator.
    char
    Implements CharacterIterator.last() for String.
    char
    Implements CharacterIterator.next() for String.
    char
    Implements CharacterIterator.previous() for String.
    char
    setIndex(int p)
    Implements CharacterIterator.setIndex() for String.
    void
    Reset this iterator to point to a new string.

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • text

      private Replaceable text
    • begin

      private int begin
    • end

      private int end
    • pos

      private int pos
  • Constructor Details

    • ReplaceableCharacterIterator

      public ReplaceableCharacterIterator(Replaceable text, int begin, int end, int pos)
      Constructs an iterator over the given range of the given string, with the index set at the specified position.
      Parameters:
      text - The String to be iterated over
      begin - Index of the first character
      end - Index of the character following the last character
      pos - Initial iterator position
  • Method Details