Package org.carrot2.util
Class MutableCharArrayUtils
- java.lang.Object
-
- org.carrot2.util.MutableCharArrayUtils
-
public final class MutableCharArrayUtils extends Object
Various utility methods operating on aMutableCharArray.
-
-
Constructor Summary
Constructors Constructor Description MutableCharArrayUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleantoLowerCase(MutableCharArray source, MutableCharArray result)Convert to lower case thesourcearray and save the result into theresultarray.
-
-
-
Method Detail
-
toLowerCase
public static boolean toLowerCase(MutableCharArray source, MutableCharArray result)
Convert to lower case thesourcearray and save the result into theresultarray. If the result array is too small to accommodate the result, its buffer will be reallocated.- Returns:
- Returns
trueif at least one character was changed betweensourceandresult.falseindicates an identical copy.
-
-