Class CharSequenceHelper


  • public final class CharSequenceHelper
    extends Object
    • Method Detail

      • 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)