Class Normalizer.CharsAppendable

java.lang.Object
com.ibm.icu.text.Normalizer.CharsAppendable
All Implemented Interfaces:
Appendable
Enclosing class:
Normalizer

private static final class Normalizer.CharsAppendable extends Object implements Appendable
An Appendable that writes into a char array with a capacity that may be less than array.length. (By contrast, CharBuffer will write beyond destLimit all the way up to array.length.)

An overflow is only reported at the end, for the old Normalizer API functions that write to char arrays.

  • Field Details

    • chars

      private final char[] chars
    • start

      private final int start
    • limit

      private final int limit
    • offset

      private int offset
  • Constructor Details

    • CharsAppendable

      public CharsAppendable(char[] dest, int destStart, int destLimit)
  • Method Details