Package org.carrot2.util
Class MutableCharArrayUtils
java.lang.Object
org.carrot2.util.MutableCharArrayUtils
public final class MutableCharArrayUtils extends Object
Various utility methods operating on a
MutableCharArray.-
Constructor Summary
Constructors Constructor Description MutableCharArrayUtils() -
Method Summary
Modifier and Type Method Description static booleantoLowerCase(MutableCharArray source, MutableCharArray result)Convert to lower case thesourcearray and save the result into theresultarray.
-
Constructor Details
-
MutableCharArrayUtils
public MutableCharArrayUtils()
-
-
Method Details
-
toLowerCase
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.
-