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 boolean
toLowerCase(MutableCharArray source, MutableCharArray result)
Convert to lower case thesource
array and save the result into theresult
array.
-
Constructor Details
-
MutableCharArrayUtils
public MutableCharArrayUtils()
-
-
Method Details
-
toLowerCase
Convert to lower case thesource
array and save the result into theresult
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 betweensource
andresult
.false
indicates an identical copy.
-