public class CharSequenceUtil
extends java.lang.Object
Constructor and Description |
---|
CharSequenceUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
equals(java.lang.CharSequence charSequence1,
java.lang.CharSequence charSequence2) |
static boolean |
equalsIgnoreCase(java.lang.CharSequence charSequence1,
java.lang.CharSequence charSequence2) |
static boolean |
equalsOne(char c,
java.lang.CharSequence match)
Match if one character equals to any of the given character.
|
static boolean |
equalsToLowercase(java.lang.CharSequence charSequence,
java.lang.CharSequence name) |
static int |
findFirstDiff(char[] source,
int index,
char match)
Finds index of the first character in given array the differs from the
given set of characters.
|
static int |
findFirstDiff(java.lang.CharSequence source,
int index,
java.lang.CharSequence match)
Finds index of the first character in given charsequence the differs from the
given set of characters.
|
static int |
findFirstEqual(char[] source,
int index,
char match)
Finds index of the first character in given array the matches any from the
given set of characters.
|
static int |
findFirstEqual(java.lang.CharSequence source,
int index,
java.lang.CharSequence match)
Finds index of the first character in given charsequence the matches any from the
given set of characters.
|
static boolean |
startsWithLowercase(java.lang.CharSequence charSequence,
java.lang.CharSequence chars) |
public static boolean equals(java.lang.CharSequence charSequence1, java.lang.CharSequence charSequence2)
public static boolean equalsToLowercase(java.lang.CharSequence charSequence, java.lang.CharSequence name)
public static boolean startsWithLowercase(java.lang.CharSequence charSequence, java.lang.CharSequence chars)
public static boolean equalsIgnoreCase(java.lang.CharSequence charSequence1, java.lang.CharSequence charSequence2)
public static boolean equalsOne(char c, java.lang.CharSequence match)
true
if characters match any character from given array,
otherwise false
public static int findFirstEqual(java.lang.CharSequence source, int index, java.lang.CharSequence match)
public static int findFirstEqual(char[] source, int index, char match)
public static int findFirstDiff(java.lang.CharSequence source, int index, java.lang.CharSequence match)
public static int findFirstDiff(char[] source, int index, char match)
Copyright © 2003-present Jodd Team