org.carrot2.text.util
Class MutableCharArrayUtils

java.lang.Object
  extended by org.carrot2.text.util.MutableCharArrayUtils

public final class MutableCharArrayUtils
extends Object

Various utility methods operating on a MutableCharArray.


Constructor Summary
MutableCharArrayUtils()
           
 
Method Summary
static boolean toLowerCase(MutableCharArray source, MutableCharArray result)
          Convert to lower case the source array and save the result into the result array.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MutableCharArrayUtils

public MutableCharArrayUtils()
Method Detail

toLowerCase

public static boolean toLowerCase(MutableCharArray source,
                                  MutableCharArray result)
Convert to lower case the source array and save the result into the result array. If the result array is too small to accommodate the result, its buffer will be reallocated.

Parameters:
source -
result -
Returns:
Returns true if at least one character was changed between source and result. false indicates an identical copy.


Copyright (c) Dawid Weiss, Stanislaw Osinski