Package org.carrot2.util
Class MutableCharArrayUtils
java.lang.Object
org.carrot2.util.MutableCharArrayUtils
Various utility methods operating on a
MutableCharArray
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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.
-