Package org.hibernate.internal.util
Class CharSequenceHelper
- java.lang.Object
-
- org.hibernate.internal.util.CharSequenceHelper
-
public final class CharSequenceHelper extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
indexOf(CharSequence charSequence, char c)
static int
indexOf(CharSequence charSequence, char c, int fromIndex)
static int
indexOf(CharSequence charSequence, char c, int fromIndex, int endIndex)
static int
indexOf(CharSequence charSequence, String target, int fromIndex)
static int
indexOf(CharSequence charSequence, String target, int fromIndex, int endIndex)
static boolean
isEmpty(CharSequence string)
static int
lastIndexOf(CharSequence charSequence, char c)
static int
lastIndexOf(CharSequence charSequence, char c, int fromIndex, int endIndex)
static boolean
regionMatchesIgnoreCase(CharSequence lhs, int lhsStart, CharSequence rhs, int rhsStart, int length)
static CharSequence
subSequence(CharSequence sequence, int start, int end)
-
-
-
Method Detail
-
subSequence
public static CharSequence subSequence(CharSequence sequence, int start, int end)
-
isEmpty
public static boolean isEmpty(CharSequence string)
-
lastIndexOf
public static int lastIndexOf(CharSequence charSequence, char c)
-
lastIndexOf
public static int lastIndexOf(CharSequence charSequence, char c, int fromIndex, int endIndex)
-
indexOf
public static int indexOf(CharSequence charSequence, char c)
-
indexOf
public static int indexOf(CharSequence charSequence, char c, int fromIndex)
-
indexOf
public static int indexOf(CharSequence charSequence, char c, int fromIndex, int endIndex)
-
indexOf
public static int indexOf(CharSequence charSequence, String target, int fromIndex)
-
indexOf
public static int indexOf(CharSequence charSequence, String target, int fromIndex, int endIndex)
-
regionMatchesIgnoreCase
public static boolean regionMatchesIgnoreCase(CharSequence lhs, int lhsStart, CharSequence rhs, int rhsStart, int length)
-
-