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 boolean
toLowerCase(MutableCharArray source, MutableCharArray result)
Convert to lower case thesource
array and save the result into theresult
array.
-
-
-
Method Detail
-
toLowerCase
public static boolean toLowerCase(MutableCharArray source, MutableCharArray result)
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.
-
-