Package org.apache.commons.codec.binary
Class CharSequenceUtils
- java.lang.Object
-
- org.apache.commons.codec.binary.CharSequenceUtils
-
public class CharSequenceUtils extends java.lang.ObjectOperations on
CharSequencethat arenullsafe.Copied from Apache Commons Lang r1586295 on April 10, 2014 (day of 3.3.2 release).
- Since:
- 1.10
- See Also:
CharSequence
-
-
Constructor Summary
Constructors Constructor Description CharSequenceUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static booleanregionMatches(java.lang.CharSequence cs, boolean ignoreCase, int thisStart, java.lang.CharSequence substring, int start, int length)Green implementation of regionMatches.
-
-
-
Method Detail
-
regionMatches
static boolean regionMatches(java.lang.CharSequence cs, boolean ignoreCase, int thisStart, java.lang.CharSequence substring, int start, int length)Green implementation of regionMatches.- Parameters:
cs- theCharSequenceto be processedignoreCase- whether or not to be case insensitivethisStart- the index to start on thecsCharSequencesubstring- theCharSequenceto be looked forstart- the index to start on thesubstringCharSequencelength- character length of the region- Returns:
- whether the region matched
-
-