Class MutableCharArrayUtils

java.lang.Object
org.carrot2.util.MutableCharArrayUtils

public final class MutableCharArrayUtils
extends Object
Various utility methods operating on a MutableCharArray.
  • Constructor Details

  • Method Details

    • toLowerCase

      public static boolean toLowerCase​(MutableCharArray source, MutableCharArray result)
      Convert to lower case the source array and save the result into the result array. If the result array is too small to accommodate the result, its buffer will be reallocated.
      Returns:
      Returns true if at least one character was changed between source and result. false indicates an identical copy.