public class CharSequenceUtils
extends java.lang.Object
Operations on CharSequence
that are null
safe.
Copied from Apache Commons Lang r1586295 on April 10, 2014 (day of 3.3.2 release).
CharSequence
Constructor and Description |
---|
CharSequenceUtils() |
Modifier and Type | Method and Description |
---|---|
(package private) static boolean |
regionMatches(java.lang.CharSequence cs,
boolean ignoreCase,
int thisStart,
java.lang.CharSequence substring,
int start,
int length)
Green implementation of regionMatches.
|
static boolean regionMatches(java.lang.CharSequence cs, boolean ignoreCase, int thisStart, java.lang.CharSequence substring, int start, int length)
cs
- the CharSequence
to be processedignoreCase
- whether or not to be case insensitivethisStart
- the index to start on the cs
CharSequencesubstring
- the CharSequence
to be looked forstart
- the index to start on the substring
CharSequencelength
- character length of the region