public interface SequenceUtils
| Modifier and Type | Field and Description |
|---|---|
static String |
ANY_EOL |
static com.vladsch.flexmark.util.misc.CharPredicate |
ANY_EOL_SET
Deprecated.
|
static com.vladsch.flexmark.util.misc.CharPredicate |
BACKSLASH_SET
Deprecated.
|
static com.vladsch.flexmark.util.misc.CharPredicate |
DECIMAL_DIGITS
Deprecated.
|
static int[] |
EMPTY_INDICES |
static char |
ENC_NUL |
static String |
EOL |
static char |
EOL_CHAR |
static char |
EOL_CHAR1 |
static char |
EOL_CHAR2 |
static String |
EOL_CHARS
Deprecated.
|
static com.vladsch.flexmark.util.misc.CharPredicate |
EOL_SET
Deprecated.
|
static com.vladsch.flexmark.util.misc.CharPredicate |
HASH_SET
Deprecated.
|
static com.vladsch.flexmark.util.misc.CharPredicate |
HEXADECIMAL_DIGITS
Deprecated.
|
static String |
LINE_SEP |
static char |
LS |
static char |
LSEP
Deprecated.
use new names instead
|
static char |
NBSP |
static String |
NBSP_CHARS |
static char |
NUL |
static com.vladsch.flexmark.util.misc.CharPredicate |
OCTAL_DIGITS
Deprecated.
|
static String |
SPACE |
static String |
SPACE_EOL |
static com.vladsch.flexmark.util.misc.CharPredicate |
SPACE_EOL_SET
Deprecated.
|
static com.vladsch.flexmark.util.misc.CharPredicate |
SPACE_SET
Deprecated.
use CharPredicate fields directly
|
static String |
SPACE_TAB |
static com.vladsch.flexmark.util.misc.CharPredicate |
SPACE_TAB_EOL_SET
Deprecated.
|
static com.vladsch.flexmark.util.misc.CharPredicate |
SPACE_TAB_NBSP_SET
Deprecated.
|
static com.vladsch.flexmark.util.misc.CharPredicate |
SPACE_TAB_SET
Deprecated.
|
static char |
SPC |
static int |
SPLIT_INCLUDE_DELIM_PARTS |
static int |
SPLIT_INCLUDE_DELIMS |
static int |
SPLIT_SKIP_EMPTY |
static int |
SPLIT_TRIM_PARTS |
static int |
SPLIT_TRIM_SKIP_EMPTY |
static com.vladsch.flexmark.util.misc.CharPredicate |
TAB_SET
Deprecated.
|
static char |
US |
static String |
US_CHARS |
static com.vladsch.flexmark.util.misc.CharPredicate |
US_SET
Deprecated.
|
static Map<Character,String> |
visibleSpacesMap |
static String |
WHITESPACE |
static String |
WHITESPACE_CHARS
Deprecated.
|
static String |
WHITESPACE_NBSP |
static String |
WHITESPACE_NBSP_CHARS
Deprecated.
|
static com.vladsch.flexmark.util.misc.CharPredicate |
WHITESPACE_NBSP_SET
Deprecated.
|
static String |
WHITESPACE_NO_EOL_CHARS
Deprecated.
|
static com.vladsch.flexmark.util.misc.CharPredicate |
WHITESPACE_SET
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static @NotNull List<Range> |
blankLinesRemovedRanges(@NotNull CharSequence thizz) |
static @NotNull List<Range> |
blankLinesRemovedRanges(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate eolChars,
int fromIndex,
int endIndex) |
static @NotNull List<Range> |
blankLinesRemovedRanges(@NotNull CharSequence thizz,
int fromIndex) |
static @NotNull List<Range> |
blankLinesRemovedRanges(@NotNull CharSequence thizz,
int fromIndex,
int endIndex) |
static int |
columnAtIndex(@NotNull CharSequence thizz,
int index) |
static int |
columnsToNextTabStop(int column) |
static int |
compare(@Nullable CharSequence o1,
@Nullable CharSequence o2) |
static int |
compare(@Nullable CharSequence o1,
@Nullable CharSequence o2,
boolean ignoreCase) |
static int |
compare(@Nullable CharSequence o1,
@Nullable CharSequence o2,
boolean ignoreCase,
@Nullable com.vladsch.flexmark.util.misc.CharPredicate ignoreChars) |
static int |
compareReversed(@Nullable CharSequence o1,
@Nullable CharSequence o2) |
static boolean |
containedBy(@NotNull Collection<? extends CharSequence> items,
@NotNull CharSequence element) |
static <T extends CharSequence> |
containedBy(T[] items,
@NotNull CharSequence element) |
static boolean |
containsAny(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s) |
static boolean |
containsAny(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s,
int index) |
static boolean |
containsAnyNot(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s) |
static boolean |
containsAnyNot(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s,
int fromIndex) |
static boolean |
containsAnyNot(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s,
int fromIndex,
int endIndex) |
static int |
countLeading(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars) |
static int |
countLeading(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars,
int fromIndex) |
static int |
countLeading(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars,
int fromIndex,
int endIndex) |
static int |
countLeadingColumns(@NotNull CharSequence thizz,
int startColumn,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars) |
static int |
countLeadingNot(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars) |
static int |
countLeadingNot(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars,
int fromIndex) |
static int |
countLeadingNot(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars,
int startIndex,
int endIndex) |
static int |
countLeadingNotSpace(@NotNull CharSequence thizz) |
static int |
countLeadingNotSpace(@NotNull CharSequence thizz,
int startIndex) |
static int |
countLeadingNotSpace(@NotNull CharSequence thizz,
int startIndex,
int endIndex) |
static int |
countLeadingNotSpaceTab(@NotNull CharSequence thizz) |
static int |
countLeadingNotSpaceTab(@NotNull CharSequence thizz,
int startIndex) |
static int |
countLeadingNotSpaceTab(@NotNull CharSequence thizz,
int startIndex,
int endIndex) |
static int |
countLeadingNotWhitespace(@NotNull CharSequence thizz) |
static int |
countLeadingNotWhitespace(@NotNull CharSequence thizz,
int startIndex) |
static int |
countLeadingNotWhitespace(@NotNull CharSequence thizz,
int startIndex,
int endIndex) |
static int |
countLeadingSpace(@NotNull CharSequence thizz) |
static int |
countLeadingSpace(@NotNull CharSequence thizz,
int startIndex) |
static int |
countLeadingSpace(@NotNull CharSequence thizz,
int startIndex,
int endIndex) |
static int |
countLeadingSpaceTab(@NotNull CharSequence thizz) |
static int |
countLeadingSpaceTab(@NotNull CharSequence thizz,
int startIndex) |
static int |
countLeadingSpaceTab(@NotNull CharSequence thizz,
int startIndex,
int endIndex) |
static int |
countLeadingWhitespace(@NotNull CharSequence thizz) |
static int |
countLeadingWhitespace(@NotNull CharSequence thizz,
int startIndex) |
static int |
countLeadingWhitespace(@NotNull CharSequence thizz,
int startIndex,
int endIndex) |
static int |
countOfAny(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars) |
static int |
countOfAny(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars,
int fromIndex) |
static int |
countOfAny(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s,
int fromIndex,
int endIndex) |
static int |
countOfAnyNot(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars) |
static int |
countOfAnyNot(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars,
int fromIndex) |
static int |
countOfAnyNot(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars,
int fromIndex,
int endIndex) |
static int |
countOfNotSpaceTab(@NotNull CharSequence thizz) |
static int |
countOfNotWhitespace(@NotNull CharSequence thizz) |
static int |
countOfSpaceTab(@NotNull CharSequence thizz) |
static int |
countOfWhitespace(@NotNull CharSequence thizz) |
static int |
countTrailing(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars) |
static int |
countTrailing(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars,
int fromIndex) |
static int |
countTrailing(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars,
int startIndex,
int fromIndex) |
static int |
countTrailingNot(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars) |
static int |
countTrailingNot(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars,
int fromIndex) |
static int |
countTrailingNot(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars,
int startIndex,
int endIndex) |
static int |
countTrailingNotSpace(@NotNull CharSequence thizz) |
static int |
countTrailingNotSpace(@NotNull CharSequence thizz,
int fromIndex) |
static int |
countTrailingNotSpace(@NotNull CharSequence thizz,
int startIndex,
int fromIndex) |
static int |
countTrailingNotSpaceTab(@NotNull CharSequence thizz) |
static int |
countTrailingNotSpaceTab(@NotNull CharSequence thizz,
int fromIndex) |
static int |
countTrailingNotSpaceTab(@NotNull CharSequence thizz,
int startIndex,
int fromIndex) |
static int |
countTrailingNotWhitespace(@NotNull CharSequence thizz) |
static int |
countTrailingNotWhitespace(@NotNull CharSequence thizz,
int fromIndex) |
static int |
countTrailingNotWhitespace(@NotNull CharSequence thizz,
int startIndex,
int fromIndex) |
static int |
countTrailingSpace(@NotNull CharSequence thizz) |
static int |
countTrailingSpace(@NotNull CharSequence thizz,
int fromIndex) |
static int |
countTrailingSpace(@NotNull CharSequence thizz,
int startIndex,
int fromIndex) |
static int |
countTrailingSpaceTab(@NotNull CharSequence thizz) |
static int |
countTrailingSpaceTab(@NotNull CharSequence thizz,
int fromIndex) |
static int |
countTrailingSpaceTab(@NotNull CharSequence thizz,
int startIndex,
int fromIndex) |
static int |
countTrailingWhitespace(@NotNull CharSequence thizz) |
static int |
countTrailingWhitespace(@NotNull CharSequence thizz,
int fromIndex) |
static int |
countTrailingWhitespace(@NotNull CharSequence thizz,
int startIndex,
int fromIndex) |
static int |
endOfDelimitedBy(@NotNull CharSequence thizz,
@NotNull CharSequence s,
int index) |
static int |
endOfDelimitedByAny(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s,
int index) |
static int |
endOfDelimitedByAnyNot(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s,
int index) |
static int |
endOfLine(@NotNull CharSequence thizz,
int index) |
static int |
endOfLineAnyEOL(@NotNull CharSequence thizz,
int index) |
static boolean |
endsWith(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars) |
static boolean |
endsWith(@NotNull CharSequence thizz,
@NotNull CharSequence suffix) |
static boolean |
endsWith(@NotNull CharSequence thizz,
@NotNull CharSequence suffix,
boolean ignoreCase) |
static boolean |
endsWithAnyEOL(@NotNull CharSequence thizz) |
static boolean |
endsWithEOL(@NotNull CharSequence thizz) |
static boolean |
endsWithSpace(@NotNull CharSequence thizz) |
static boolean |
endsWithSpaceTab(@NotNull CharSequence thizz) |
static boolean |
endsWithWhitespace(@NotNull CharSequence thizz) |
static int |
eolEndLength(@NotNull CharSequence thizz) |
static int |
eolEndLength(@NotNull CharSequence thizz,
int eolEnd) |
static @NotNull Range |
eolEndRange(@NotNull CharSequence thizz,
int eolEnd) |
static int |
eolStartLength(@NotNull CharSequence thizz,
int eolStart) |
static @NotNull Range |
eolStartRange(@NotNull CharSequence thizz,
int eolStart) |
static boolean |
equals(@NotNull CharSequence thizz,
Object o)
Equality comparison based on character content of this sequence, with quick fail
resorting to content comparison only if length and hashCodes are equal
|
static @NotNull int[] |
expandTo(@NotNull int[] indices,
int length,
int step) |
static char |
firstChar(@NotNull CharSequence thizz) |
static Map<Character,String> |
getVisibleSpacesMap() |
static int |
hashCode(@NotNull CharSequence thizz) |
static int |
indexOf(@NotNull CharSequence thizz,
char c) |
static int |
indexOf(@NotNull CharSequence thizz,
char c,
int fromIndex) |
static int |
indexOf(@NotNull CharSequence thizz,
char c,
int fromIndex,
int endIndex) |
static int |
indexOf(@NotNull CharSequence thizz,
@NotNull CharSequence s) |
static int |
indexOf(@NotNull CharSequence thizz,
@NotNull CharSequence s,
int fromIndex) |
static int |
indexOf(@NotNull CharSequence thizz,
@NotNull CharSequence s,
int fromIndex,
int endIndex) |
static @NotNull int[] |
indexOfAll(@NotNull CharSequence thizz,
@NotNull CharSequence s) |
static int |
indexOfAny(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s) |
static int |
indexOfAny(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s,
int index) |
static int |
indexOfAny(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s,
int fromIndex,
int endIndex) |
static int |
indexOfAnyNot(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s) |
static int |
indexOfAnyNot(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s,
int fromIndex) |
static int |
indexOfAnyNot(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s,
int fromIndex,
int endIndex) |
static int |
indexOfNot(@NotNull CharSequence thizz,
char c) |
static int |
indexOfNot(@NotNull CharSequence thizz,
char c,
int fromIndex) |
static int |
indexOfNot(@NotNull CharSequence thizz,
char c,
int fromIndex,
int endIndex) |
static boolean |
isBlank(@NotNull CharSequence thizz) |
static boolean |
isEmpty(@NotNull CharSequence thizz) |
static boolean |
isNotBlank(@NotNull CharSequence thizz) |
static boolean |
isNotEmpty(@NotNull CharSequence thizz) |
static boolean |
isVisibleWhitespace(char c) |
static char |
lastChar(@NotNull CharSequence thizz) |
static int |
lastIndexOf(@NotNull CharSequence thizz,
char c) |
static int |
lastIndexOf(@NotNull CharSequence thizz,
char c,
int fromIndex) |
static int |
lastIndexOf(@NotNull CharSequence thizz,
char c,
int startIndex,
int fromIndex) |
static int |
lastIndexOf(@NotNull CharSequence thizz,
@NotNull CharSequence s) |
static int |
lastIndexOf(@NotNull CharSequence thizz,
@NotNull CharSequence s,
int fromIndex) |
static int |
lastIndexOf(@NotNull CharSequence thizz,
@NotNull CharSequence s,
int startIndex,
int fromIndex) |
static int |
lastIndexOfAny(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s) |
static int |
lastIndexOfAny(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s,
int fromIndex) |
static int |
lastIndexOfAny(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s,
int startIndex,
int fromIndex) |
static int |
lastIndexOfAnyNot(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s) |
static int |
lastIndexOfAnyNot(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s,
int fromIndex) |
static int |
lastIndexOfAnyNot(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s,
int startIndex,
int fromIndex) |
static int |
lastIndexOfNot(@NotNull CharSequence thizz,
char c) |
static int |
lastIndexOfNot(@NotNull CharSequence thizz,
char c,
int fromIndex) |
static int |
lastIndexOfNot(@NotNull CharSequence thizz,
char c,
int startIndex,
int fromIndex) |
static @NotNull Range |
leadingBlankLinesRange(@NotNull CharSequence thizz) |
static @NotNull Range |
leadingBlankLinesRange(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate eolChars,
int fromIndex,
int endIndex) |
static @NotNull Range |
leadingBlankLinesRange(@NotNull CharSequence thizz,
int startIndex) |
static @NotNull Range |
leadingBlankLinesRange(@NotNull CharSequence thizz,
int fromIndex,
int endIndex) |
static @NotNull com.vladsch.flexmark.util.misc.Pair<Integer,Integer> |
lineColumnAtIndex(@NotNull CharSequence thizz,
int index) |
static @NotNull Range |
lineRangeAt(@NotNull CharSequence thizz,
int index) |
static @NotNull Range |
lineRangeAtAnyEOL(@NotNull CharSequence thizz,
int index) |
static boolean |
matchChars(@NotNull CharSequence thizz,
@NotNull CharSequence chars) |
static boolean |
matchChars(@NotNull CharSequence thizz,
@NotNull CharSequence chars,
boolean ignoreCase) |
static boolean |
matchChars(@NotNull CharSequence thizz,
@NotNull CharSequence chars,
int startIndex) |
static boolean |
matchChars(@NotNull CharSequence thizz,
@NotNull CharSequence chars,
int startIndex,
boolean ignoreCase) |
static boolean |
matchCharsIgnoreCase(@NotNull CharSequence thizz,
@NotNull CharSequence chars) |
static boolean |
matchCharsIgnoreCase(@NotNull CharSequence thizz,
@NotNull CharSequence chars,
int startIndex) |
static boolean |
matchCharsReversed(@NotNull CharSequence thizz,
@NotNull CharSequence chars,
int endIndex) |
static boolean |
matchCharsReversed(@NotNull CharSequence thizz,
@NotNull CharSequence chars,
int endIndex,
boolean ignoreCase) |
static boolean |
matchCharsReversedIgnoreCase(@NotNull CharSequence thizz,
@NotNull CharSequence chars,
int endIndex) |
static int |
matchedCharCount(@NotNull CharSequence thizz,
@NotNull CharSequence chars,
int startIndex) |
static int |
matchedCharCount(@NotNull CharSequence thizz,
@NotNull CharSequence chars,
int startIndex,
boolean ignoreCase) |
static int |
matchedCharCount(@NotNull CharSequence thizz,
@NotNull CharSequence chars,
int startIndex,
int endIndex) |
static int |
matchedCharCount(@NotNull CharSequence thizz,
@NotNull CharSequence chars,
int startIndex,
int endIndex,
boolean ignoreCase) |
static int |
matchedCharCount(@NotNull CharSequence thizz,
@NotNull CharSequence chars,
int startIndex,
int endIndex,
boolean fullMatchOnly,
boolean ignoreCase) |
static int |
matchedCharCountIgnoreCase(@NotNull CharSequence thizz,
@NotNull CharSequence chars,
int startIndex) |
static int |
matchedCharCountIgnoreCase(@NotNull CharSequence thizz,
@NotNull CharSequence chars,
int startIndex,
int endIndex) |
static int |
matchedCharCountReversed(@NotNull CharSequence thizz,
@NotNull CharSequence chars,
int fromIndex) |
static int |
matchedCharCountReversed(@NotNull CharSequence thizz,
@NotNull CharSequence chars,
int fromIndex,
boolean ignoreCase) |
static int |
matchedCharCountReversed(@NotNull CharSequence thizz,
@NotNull CharSequence chars,
int startIndex,
int fromIndex) |
static int |
matchedCharCountReversed(@NotNull CharSequence thizz,
@NotNull CharSequence chars,
int startIndex,
int fromIndex,
boolean ignoreCase) |
static int |
matchedCharCountReversedIgnoreCase(@NotNull CharSequence thizz,
@NotNull CharSequence chars,
int fromIndex) |
static int |
matchedCharCountReversedIgnoreCase(@NotNull CharSequence thizz,
@NotNull CharSequence chars,
int startIndex,
int fromIndex) |
static boolean |
matches(@NotNull CharSequence thizz,
@NotNull CharSequence chars) |
static boolean |
matches(@NotNull CharSequence thizz,
@NotNull CharSequence chars,
boolean ignoreCase) |
static boolean |
matchesIgnoreCase(@NotNull CharSequence thizz,
@NotNull CharSequence chars) |
static @NotNull String |
padEnd(@NotNull CharSequence thizz,
int length) |
static @NotNull String |
padEnd(@NotNull CharSequence thizz,
int length,
char pad) |
static @NotNull String |
padStart(@NotNull CharSequence thizz,
int length) |
static @NotNull String |
padStart(@NotNull CharSequence thizz,
int length,
char pad) |
static int |
parseIntOrDefault(String text,
int defaultValue) |
static int |
parseIntOrDefault(String text,
int defaultValue,
int radix) |
static Integer |
parseIntOrNull(String text) |
static Integer |
parseIntOrNull(String text,
int radix) |
static Long |
parseLongOrNull(String text) |
static Long |
parseLongOrNull(String text,
int radix) |
static @Nullable Number |
parseNumberOrNull(@Nullable String text)
Parse number from text
|
static @Nullable com.vladsch.flexmark.util.misc.Pair<Number,String> |
parseNumberPrefixOrNull(@Nullable String text,
@Nullable Predicate<String> suffixTester)
Parse number from text
|
static int |
parseUnsignedIntOrDefault(String text,
int defaultValue) |
static int |
parseUnsignedIntOrDefault(String text,
int defaultValue,
int radix) |
static Integer |
parseUnsignedIntOrNull(String text) |
static Integer |
parseUnsignedIntOrNull(String text,
int radix) |
static char |
safeCharAt(@NotNull CharSequence thizz,
int index) |
static <T extends CharSequence> |
split(T thizz,
T[] emptyArray,
@NotNull CharSequence delimiter) |
static <T extends CharSequence> |
split(T thizz,
T[] emptyArray,
@NotNull CharSequence delimiter,
boolean includeDelims,
@Nullable com.vladsch.flexmark.util.misc.CharPredicate trimChars) |
static <T extends CharSequence> |
split(T thizz,
T[] emptyArray,
@NotNull CharSequence delimiter,
int limit,
boolean includeDelims,
@Nullable com.vladsch.flexmark.util.misc.CharPredicate trimChars) |
static <T extends CharSequence> |
split(T thizz,
T[] emptyArray,
@NotNull CharSequence delimiter,
int limit,
int flags) |
static <T extends CharSequence> |
split(T thizz,
T[] emptyArray,
@NotNull CharSequence delimiter,
int limit,
int flags,
@Nullable com.vladsch.flexmark.util.misc.CharPredicate trimChars) |
static <T extends CharSequence> |
splitEOL(T thizz,
T[] emptyArray) |
static <T extends CharSequence> |
splitEOL(T thizz,
T[] emptyArray,
boolean includeDelims) |
static <T extends CharSequence> |
splitList(T thizz,
@NotNull CharSequence delimiter) |
static <T extends CharSequence> |
splitList(T thizz,
@NotNull CharSequence delimiter,
boolean includeDelims,
@Nullable com.vladsch.flexmark.util.misc.CharPredicate trimChars) |
static <T extends CharSequence> |
splitList(T thizz,
@NotNull CharSequence delimiter,
int limit,
boolean includeDelims,
@Nullable com.vladsch.flexmark.util.misc.CharPredicate trimChars) |
static <T extends CharSequence> |
splitList(T thizz,
@NotNull CharSequence delimiter,
int limit,
int flags) |
static <T extends CharSequence> |
splitList(T thizz,
@NotNull CharSequence delimiter,
int limit,
int flags,
@Nullable com.vladsch.flexmark.util.misc.CharPredicate trimChars) |
static <T extends CharSequence> |
splitListEOL(T thizz) |
static <T extends CharSequence> |
splitListEOL(T thizz,
boolean includeDelims) |
static <T extends CharSequence> |
splitListEOL(T thizz,
boolean includeDelims,
@Nullable com.vladsch.flexmark.util.misc.CharPredicate trimChars) |
static int |
startOfDelimitedBy(@NotNull CharSequence thizz,
@NotNull CharSequence s,
int index) |
static int |
startOfDelimitedByAny(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s,
int index) |
static int |
startOfDelimitedByAnyNot(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s,
int index) |
static int |
startOfLine(@NotNull CharSequence thizz,
int index) |
static int |
startOfLineAnyEOL(@NotNull CharSequence thizz,
int index) |
static boolean |
startsWith(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars) |
static boolean |
startsWith(@NotNull CharSequence thizz,
@NotNull CharSequence prefix) |
static boolean |
startsWith(@NotNull CharSequence thizz,
@NotNull CharSequence prefix,
boolean ignoreCase) |
static boolean |
startsWithAnyEOL(@NotNull CharSequence thizz) |
static boolean |
startsWithEOL(@NotNull CharSequence thizz) |
static boolean |
startsWithSpace(@NotNull CharSequence thizz) |
static boolean |
startsWithSpaceTab(@NotNull CharSequence thizz) |
static boolean |
startsWithWhitespace(@NotNull CharSequence thizz) |
static <T extends CharSequence> |
subSequence(T thizz,
int startIndex) |
static <T extends CharSequence> |
subSequence(T thizz,
@NotNull Range range)
Get a portion of this sequence selected by range
|
static <T extends CharSequence> |
subSequenceAfter(T thizz,
@NotNull Range range)
Get a portion of this sequence after one selected by range
|
static <T extends CharSequence> |
subSequenceBefore(T thizz,
@NotNull Range range)
Get a portion of this sequence before one selected by range
|
static <T extends CharSequence> |
subSequenceBeforeAfter(T thizz,
Range range)
Get a portions of this sequence before and after one selected by range
|
static @NotNull String[] |
toStringArray(CharSequence... sequences) |
static @NotNull String |
toVisibleWhitespaceString(@NotNull CharSequence thizz) |
static @NotNull Range |
trailingBlankLinesRange(@NotNull CharSequence thizz) |
static @NotNull Range |
trailingBlankLinesRange(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate eolChars,
int startIndex,
int fromIndex) |
static @NotNull Range |
trailingBlankLinesRange(@NotNull CharSequence thizz,
int fromIndex) |
static @NotNull Range |
trailingBlankLinesRange(@NotNull CharSequence thizz,
int startIndex,
int fromIndex) |
static <T extends CharSequence> |
trim(T thizz) |
static <T extends CharSequence> |
trim(T thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars) |
static <T extends CharSequence> |
trim(T thizz,
int keep) |
static <T extends CharSequence> |
trim(T thizz,
int keep,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars) |
static <T extends CharSequence> |
trimEnd(T thizz) |
static <T extends CharSequence> |
trimEnd(T thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars) |
static <T extends CharSequence> |
trimEnd(T thizz,
int keep) |
static <T extends CharSequence> |
trimEnd(T thizz,
int keep,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars) |
static Range |
trimEndRange(@NotNull CharSequence thizz) |
static Range |
trimEndRange(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars) |
static Range |
trimEndRange(@NotNull CharSequence thizz,
int keep) |
static @NotNull Range |
trimEndRange(@NotNull CharSequence thizz,
int keep,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars) |
static <T extends CharSequence> |
trimEOL(T thizz) |
static <T extends CharSequence> |
trimLeadBlankLines(T thizz) |
static <T extends CharSequence> |
trimmed(T thizz) |
static <T extends CharSequence> |
trimmed(T thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars) |
static <T extends CharSequence> |
trimmed(T thizz,
int keep) |
static <T extends CharSequence> |
trimmed(T thizz,
int keep,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars) |
static <T extends CharSequence> |
trimmedEnd(T thizz) |
static <T extends CharSequence> |
trimmedEnd(T thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars) |
static <T extends CharSequence> |
trimmedEnd(T thizz,
int keep) |
static <T extends CharSequence> |
trimmedEnd(T thizz,
int keep,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars) |
static <T extends CharSequence> |
trimmedEOL(T thizz) |
static <T extends CharSequence> |
trimmedStart(T thizz) |
static <T extends CharSequence> |
trimmedStart(T thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars) |
static <T extends CharSequence> |
trimmedStart(T thizz,
int keep) |
static <T extends CharSequence> |
trimmedStart(T thizz,
int keep,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars) |
static Range |
trimRange(@NotNull CharSequence thizz) |
static Range |
trimRange(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars) |
static Range |
trimRange(@NotNull CharSequence thizz,
int keep) |
static @NotNull Range |
trimRange(@NotNull CharSequence thizz,
int keep,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars) |
static <T extends CharSequence> |
trimStart(T thizz) |
static <T extends CharSequence> |
trimStart(T thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars) |
static <T extends CharSequence> |
trimStart(T thizz,
int keep) |
static <T extends CharSequence> |
trimStart(T thizz,
int keep,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars) |
static Range |
trimStartRange(@NotNull CharSequence thizz) |
static Range |
trimStartRange(@NotNull CharSequence thizz,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars) |
static Range |
trimStartRange(@NotNull CharSequence thizz,
int keep) |
static @NotNull Range |
trimStartRange(@NotNull CharSequence thizz,
int keep,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars) |
static <T extends CharSequence> |
trimTailBlankLines(T thizz) |
static @NotNull int[] |
truncateTo(@NotNull int[] indices,
int length) |
static void |
validateIndex(int index,
int length) |
static void |
validateIndexInclusiveEnd(int index,
int length) |
static void |
validateStartEnd(int startIndex,
int endIndex,
int length) |
static final String EOL
static final String SPACE
static final String ANY_EOL
static final char EOL_CHAR
static final char EOL_CHAR1
static final char EOL_CHAR2
static final char SPC
static final char NUL
static final char ENC_NUL
static final char NBSP
static final char LS
static final char US
static final String LINE_SEP
static final String SPACE_TAB
static final String SPACE_EOL
static final String US_CHARS
static final String WHITESPACE
static final String NBSP_CHARS
static final String WHITESPACE_NBSP
@Deprecated static final com.vladsch.flexmark.util.misc.CharPredicate SPACE_SET
@Deprecated static final com.vladsch.flexmark.util.misc.CharPredicate TAB_SET
@Deprecated static final com.vladsch.flexmark.util.misc.CharPredicate EOL_SET
@Deprecated static final com.vladsch.flexmark.util.misc.CharPredicate SPACE_TAB_SET
@Deprecated static final com.vladsch.flexmark.util.misc.CharPredicate SPACE_TAB_NBSP_SET
@Deprecated static final com.vladsch.flexmark.util.misc.CharPredicate SPACE_TAB_EOL_SET
@Deprecated static final com.vladsch.flexmark.util.misc.CharPredicate SPACE_EOL_SET
@Deprecated static final com.vladsch.flexmark.util.misc.CharPredicate ANY_EOL_SET
@Deprecated static final com.vladsch.flexmark.util.misc.CharPredicate WHITESPACE_SET
@Deprecated static final com.vladsch.flexmark.util.misc.CharPredicate WHITESPACE_NBSP_SET
@Deprecated static final com.vladsch.flexmark.util.misc.CharPredicate BACKSLASH_SET
@Deprecated static final com.vladsch.flexmark.util.misc.CharPredicate US_SET
@Deprecated static final com.vladsch.flexmark.util.misc.CharPredicate HASH_SET
@Deprecated static final com.vladsch.flexmark.util.misc.CharPredicate DECIMAL_DIGITS
@Deprecated static final com.vladsch.flexmark.util.misc.CharPredicate HEXADECIMAL_DIGITS
@Deprecated static final com.vladsch.flexmark.util.misc.CharPredicate OCTAL_DIGITS
@Deprecated static final char LSEP
@Deprecated static final String EOL_CHARS
@Deprecated static final String WHITESPACE_NO_EOL_CHARS
@Deprecated static final String WHITESPACE_CHARS
@Deprecated static final String WHITESPACE_NBSP_CHARS
static final int SPLIT_INCLUDE_DELIMS
static final int SPLIT_TRIM_PARTS
static final int SPLIT_SKIP_EMPTY
static final int SPLIT_INCLUDE_DELIM_PARTS
static final int SPLIT_TRIM_SKIP_EMPTY
static final int[] EMPTY_INDICES
@NotNull static <T extends CharSequence> T subSequence(@NotNull T thizz, int startIndex)
@NotNull static <T extends CharSequence> T subSequence(@NotNull T thizz, @NotNull @NotNull Range range)
T - type of character sequencethizz - char sequencerange - range to get, coordinates offset form start of this sequence@Nullable static <T extends CharSequence> T subSequenceBefore(@NotNull T thizz, @NotNull @NotNull Range range)
T - type of character sequencethizz - char sequencerange - range to get, coordinates offset form start of this sequence@Nullable static <T extends CharSequence> T subSequenceAfter(@NotNull T thizz, @NotNull @NotNull Range range)
T - type of character sequencethizz - char sequencerange - range to get, coordinates offset form start of this sequence@NotNull static <T extends CharSequence> @NotNull com.vladsch.flexmark.util.misc.Pair<T,T> subSequenceBeforeAfter(@NotNull T thizz, Range range)
T - type of character sequencethizz - char sequencerange - range to get, coordinates offset form start of this sequencestatic boolean containsAny(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s)
static boolean containsAny(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s,
int index)
static boolean containsAnyNot(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s)
static boolean containsAnyNot(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s,
int fromIndex)
static boolean containsAnyNot(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s,
int fromIndex,
int endIndex)
static int indexOf(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull CharSequence s)
static int indexOf(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull CharSequence s,
int fromIndex)
static int indexOf(@NotNull
@NotNull CharSequence thizz,
char c)
static int indexOf(@NotNull
@NotNull CharSequence thizz,
char c,
int fromIndex)
static int indexOfAny(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s)
static int indexOfAny(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s,
int index)
static int indexOfAnyNot(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s)
static int indexOfAnyNot(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s,
int fromIndex)
static int indexOfAnyNot(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s,
int fromIndex,
int endIndex)
static int indexOfNot(@NotNull
@NotNull CharSequence thizz,
char c)
static int indexOfNot(@NotNull
@NotNull CharSequence thizz,
char c,
int fromIndex)
static int lastIndexOf(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull CharSequence s)
static int lastIndexOf(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull CharSequence s,
int fromIndex)
static int lastIndexOf(@NotNull
@NotNull CharSequence thizz,
char c)
static int lastIndexOf(@NotNull
@NotNull CharSequence thizz,
char c,
int fromIndex)
static int lastIndexOfAny(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s)
static int lastIndexOfAny(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s,
int fromIndex)
static int lastIndexOfAnyNot(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s)
static int lastIndexOfAnyNot(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s,
int fromIndex)
static int lastIndexOfAnyNot(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s,
int startIndex,
int fromIndex)
static int lastIndexOfNot(@NotNull
@NotNull CharSequence thizz,
char c)
static int lastIndexOfNot(@NotNull
@NotNull CharSequence thizz,
char c,
int fromIndex)
static int indexOf(@NotNull
@NotNull CharSequence thizz,
char c,
int fromIndex,
int endIndex)
static int indexOf(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull CharSequence s,
int fromIndex,
int endIndex)
static int lastIndexOf(@NotNull
@NotNull CharSequence thizz,
char c,
int startIndex,
int fromIndex)
static int indexOfNot(@NotNull
@NotNull CharSequence thizz,
char c,
int fromIndex,
int endIndex)
static int indexOfAny(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s,
int fromIndex,
int endIndex)
static int lastIndexOf(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull CharSequence s,
int startIndex,
int fromIndex)
static int lastIndexOfNot(@NotNull
@NotNull CharSequence thizz,
char c,
int startIndex,
int fromIndex)
static int lastIndexOfAny(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s,
int startIndex,
int fromIndex)
@Contract(pure=true,
value="_, null -> false")
static boolean equals(@NotNull
@NotNull CharSequence thizz,
Object o)
thizz - char sequence to test for equalityo - any character sequence@Contract(pure=true)
static int hashCode(@NotNull
@NotNull CharSequence thizz)
static int compareReversed(@Nullable
@Nullable CharSequence o1,
@Nullable
@Nullable CharSequence o2)
static int compare(@Nullable
@Nullable CharSequence o1,
@Nullable
@Nullable CharSequence o2)
static int compare(@Nullable
@Nullable CharSequence o1,
@Nullable
@Nullable CharSequence o2,
boolean ignoreCase)
static int compare(@Nullable
@Nullable CharSequence o1,
@Nullable
@Nullable CharSequence o2,
boolean ignoreCase,
@Nullable
@Nullable com.vladsch.flexmark.util.misc.CharPredicate ignoreChars)
@NotNull static @NotNull String[] toStringArray(CharSequence... sequences)
static boolean isVisibleWhitespace(char c)
static int columnsToNextTabStop(int column)
@NotNull
static @NotNull int[] expandTo(@NotNull
@NotNull int[] indices,
int length,
int step)
@NotNull
static @NotNull int[] truncateTo(@NotNull
@NotNull int[] indices,
int length)
@NotNull
static @NotNull int[] indexOfAll(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull CharSequence s)
static boolean matches(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull CharSequence chars,
boolean ignoreCase)
static boolean matches(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull CharSequence chars)
static boolean matchesIgnoreCase(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull CharSequence chars)
static boolean matchChars(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull CharSequence chars,
int startIndex,
boolean ignoreCase)
static boolean matchChars(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull CharSequence chars,
int startIndex)
static boolean matchCharsIgnoreCase(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull CharSequence chars,
int startIndex)
static boolean matchChars(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull CharSequence chars,
boolean ignoreCase)
static boolean matchChars(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull CharSequence chars)
static boolean matchCharsIgnoreCase(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull CharSequence chars)
static boolean matchCharsReversed(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull CharSequence chars,
int endIndex,
boolean ignoreCase)
static boolean matchCharsReversed(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull CharSequence chars,
int endIndex)
static boolean matchCharsReversedIgnoreCase(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull CharSequence chars,
int endIndex)
static int matchedCharCount(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull CharSequence chars,
int startIndex,
int endIndex,
boolean ignoreCase)
static int matchedCharCount(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull CharSequence chars,
int startIndex,
boolean ignoreCase)
static int matchedCharCount(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull CharSequence chars,
int startIndex,
int endIndex)
static int matchedCharCount(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull CharSequence chars,
int startIndex)
static int matchedCharCountIgnoreCase(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull CharSequence chars,
int startIndex,
int endIndex)
static int matchedCharCountIgnoreCase(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull CharSequence chars,
int startIndex)
static int matchedCharCountReversed(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull CharSequence chars,
int startIndex,
int fromIndex)
static int matchedCharCountReversedIgnoreCase(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull CharSequence chars,
int startIndex,
int fromIndex)
static int matchedCharCountReversed(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull CharSequence chars,
int fromIndex,
boolean ignoreCase)
static int matchedCharCountReversed(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull CharSequence chars,
int fromIndex)
static int matchedCharCountReversedIgnoreCase(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull CharSequence chars,
int fromIndex)
static int matchedCharCount(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull CharSequence chars,
int startIndex,
int endIndex,
boolean fullMatchOnly,
boolean ignoreCase)
static int matchedCharCountReversed(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull CharSequence chars,
int startIndex,
int fromIndex,
boolean ignoreCase)
static int countOfSpaceTab(@NotNull
@NotNull CharSequence thizz)
static int countOfNotSpaceTab(@NotNull
@NotNull CharSequence thizz)
static int countOfWhitespace(@NotNull
@NotNull CharSequence thizz)
static int countOfNotWhitespace(@NotNull
@NotNull CharSequence thizz)
static int countOfAny(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars,
int fromIndex)
static int countOfAny(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
static int countOfAnyNot(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars,
int fromIndex,
int endIndex)
static int countOfAnyNot(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars,
int fromIndex)
static int countOfAnyNot(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
static int countOfAny(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s,
int fromIndex,
int endIndex)
static int countLeadingSpace(@NotNull
@NotNull CharSequence thizz)
static int countLeadingSpace(@NotNull
@NotNull CharSequence thizz,
int startIndex)
static int countLeadingSpace(@NotNull
@NotNull CharSequence thizz,
int startIndex,
int endIndex)
static int countLeadingNotSpace(@NotNull
@NotNull CharSequence thizz)
static int countLeadingNotSpace(@NotNull
@NotNull CharSequence thizz,
int startIndex)
static int countLeadingNotSpace(@NotNull
@NotNull CharSequence thizz,
int startIndex,
int endIndex)
static int countTrailingSpace(@NotNull
@NotNull CharSequence thizz)
static int countTrailingSpace(@NotNull
@NotNull CharSequence thizz,
int fromIndex)
static int countTrailingSpace(@NotNull
@NotNull CharSequence thizz,
int startIndex,
int fromIndex)
static int countTrailingNotSpace(@NotNull
@NotNull CharSequence thizz)
static int countTrailingNotSpace(@NotNull
@NotNull CharSequence thizz,
int fromIndex)
static int countTrailingNotSpace(@NotNull
@NotNull CharSequence thizz,
int startIndex,
int fromIndex)
static int countLeadingSpaceTab(@NotNull
@NotNull CharSequence thizz)
static int countLeadingSpaceTab(@NotNull
@NotNull CharSequence thizz,
int startIndex)
static int countLeadingSpaceTab(@NotNull
@NotNull CharSequence thizz,
int startIndex,
int endIndex)
static int countLeadingNotSpaceTab(@NotNull
@NotNull CharSequence thizz)
static int countLeadingNotSpaceTab(@NotNull
@NotNull CharSequence thizz,
int startIndex)
static int countLeadingNotSpaceTab(@NotNull
@NotNull CharSequence thizz,
int startIndex,
int endIndex)
static int countTrailingSpaceTab(@NotNull
@NotNull CharSequence thizz)
static int countTrailingSpaceTab(@NotNull
@NotNull CharSequence thizz,
int fromIndex)
static int countTrailingSpaceTab(@NotNull
@NotNull CharSequence thizz,
int startIndex,
int fromIndex)
static int countTrailingNotSpaceTab(@NotNull
@NotNull CharSequence thizz)
static int countTrailingNotSpaceTab(@NotNull
@NotNull CharSequence thizz,
int fromIndex)
static int countTrailingNotSpaceTab(@NotNull
@NotNull CharSequence thizz,
int startIndex,
int fromIndex)
static int countLeadingWhitespace(@NotNull
@NotNull CharSequence thizz)
static int countLeadingWhitespace(@NotNull
@NotNull CharSequence thizz,
int startIndex)
static int countLeadingWhitespace(@NotNull
@NotNull CharSequence thizz,
int startIndex,
int endIndex)
static int countLeadingNotWhitespace(@NotNull
@NotNull CharSequence thizz)
static int countLeadingNotWhitespace(@NotNull
@NotNull CharSequence thizz,
int startIndex)
static int countLeadingNotWhitespace(@NotNull
@NotNull CharSequence thizz,
int startIndex,
int endIndex)
static int countTrailingWhitespace(@NotNull
@NotNull CharSequence thizz)
static int countTrailingWhitespace(@NotNull
@NotNull CharSequence thizz,
int fromIndex)
static int countTrailingWhitespace(@NotNull
@NotNull CharSequence thizz,
int startIndex,
int fromIndex)
static int countTrailingNotWhitespace(@NotNull
@NotNull CharSequence thizz)
static int countTrailingNotWhitespace(@NotNull
@NotNull CharSequence thizz,
int fromIndex)
static int countTrailingNotWhitespace(@NotNull
@NotNull CharSequence thizz,
int startIndex,
int fromIndex)
static int countLeading(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
static int countLeading(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars,
int fromIndex)
static int countLeadingNot(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
static int countLeadingNot(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars,
int fromIndex)
static int countTrailing(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
static int countTrailing(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars,
int fromIndex)
static int countTrailingNot(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
static int countTrailingNot(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars,
int fromIndex)
static int countLeadingNot(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars,
int startIndex,
int endIndex)
static int countTrailingNot(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars,
int startIndex,
int endIndex)
static int countLeading(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars,
int fromIndex,
int endIndex)
static int countLeadingColumns(@NotNull
@NotNull CharSequence thizz,
int startColumn,
@NotNull
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
static int countTrailing(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars,
int startIndex,
int fromIndex)
@NotNull static <T extends CharSequence> T trimStart(@NotNull T thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
@Nullable static <T extends CharSequence> T trimmedStart(@NotNull T thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
@NotNull static <T extends CharSequence> T trimEnd(@NotNull T thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
@Nullable static <T extends CharSequence> T trimmedEnd(@NotNull T thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
@NotNull static <T extends CharSequence> T trim(@NotNull T thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
@NotNull static <T extends CharSequence> @NotNull com.vladsch.flexmark.util.misc.Pair<T,T> trimmed(@NotNull T thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
@NotNull static <T extends CharSequence> T trimStart(@NotNull T thizz, int keep)
@Nullable static <T extends CharSequence> T trimmedStart(@NotNull T thizz, int keep)
@NotNull static <T extends CharSequence> T trimEnd(@NotNull T thizz, int keep)
@Nullable static <T extends CharSequence> T trimmedEnd(@NotNull T thizz, int keep)
@NotNull static <T extends CharSequence> T trim(@NotNull T thizz, int keep)
@NotNull static <T extends CharSequence> @NotNull com.vladsch.flexmark.util.misc.Pair<T,T> trimmed(@NotNull T thizz, int keep)
@NotNull static <T extends CharSequence> T trimStart(@NotNull T thizz)
@Nullable static <T extends CharSequence> T trimmedStart(@NotNull T thizz)
@NotNull static <T extends CharSequence> T trimEnd(@NotNull T thizz)
@Nullable static <T extends CharSequence> T trimmedEnd(@NotNull T thizz)
@NotNull static <T extends CharSequence> T trim(@NotNull T thizz)
@NotNull static <T extends CharSequence> @NotNull com.vladsch.flexmark.util.misc.Pair<T,T> trimmed(@NotNull T thizz)
@NotNull static <T extends CharSequence> T trimStart(@NotNull T thizz, int keep, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
@Nullable static <T extends CharSequence> T trimmedStart(@NotNull T thizz, int keep, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
@NotNull static <T extends CharSequence> T trimEnd(@NotNull T thizz, int keep, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
@Nullable static <T extends CharSequence> T trimmedEnd(@NotNull T thizz, int keep, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
@NotNull static <T extends CharSequence> T trim(@NotNull T thizz, int keep, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
@NotNull static <T extends CharSequence> @NotNull com.vladsch.flexmark.util.misc.Pair<T,T> trimmed(@NotNull T thizz, int keep, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
static Range trimStartRange(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
static Range trimEndRange(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
static Range trimRange(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
static Range trimStartRange(@NotNull @NotNull CharSequence thizz, int keep)
static Range trimEndRange(@NotNull @NotNull CharSequence thizz, int keep)
static Range trimRange(@NotNull @NotNull CharSequence thizz, int keep)
static Range trimStartRange(@NotNull @NotNull CharSequence thizz)
static Range trimEndRange(@NotNull @NotNull CharSequence thizz)
static Range trimRange(@NotNull @NotNull CharSequence thizz)
@NotNull static @NotNull Range trimStartRange(@NotNull @NotNull CharSequence thizz, int keep, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
@NotNull static @NotNull Range trimEndRange(@NotNull @NotNull CharSequence thizz, int keep, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
@NotNull static @NotNull Range trimRange(@NotNull @NotNull CharSequence thizz, int keep, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
@NotNull static @NotNull String padStart(@NotNull @NotNull CharSequence thizz, int length, char pad)
@NotNull static @NotNull String padEnd(@NotNull @NotNull CharSequence thizz, int length, char pad)
@NotNull static @NotNull String padStart(@NotNull @NotNull CharSequence thizz, int length)
@NotNull static @NotNull String padEnd(@NotNull @NotNull CharSequence thizz, int length)
@NotNull static @NotNull String toVisibleWhitespaceString(@NotNull @NotNull CharSequence thizz)
static char lastChar(@NotNull
@NotNull CharSequence thizz)
static char firstChar(@NotNull
@NotNull CharSequence thizz)
static char safeCharAt(@NotNull
@NotNull CharSequence thizz,
int index)
static int eolEndLength(@NotNull
@NotNull CharSequence thizz)
static int eolEndLength(@NotNull
@NotNull CharSequence thizz,
int eolEnd)
static int eolStartLength(@NotNull
@NotNull CharSequence thizz,
int eolStart)
static int endOfLine(@NotNull
@NotNull CharSequence thizz,
int index)
static int endOfLineAnyEOL(@NotNull
@NotNull CharSequence thizz,
int index)
static int startOfLine(@NotNull
@NotNull CharSequence thizz,
int index)
static int startOfLineAnyEOL(@NotNull
@NotNull CharSequence thizz,
int index)
static int startOfDelimitedByAnyNot(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s,
int index)
static int endOfDelimitedByAnyNot(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s,
int index)
static int startOfDelimitedBy(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull CharSequence s,
int index)
static int startOfDelimitedByAny(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s,
int index)
static int endOfDelimitedBy(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull CharSequence s,
int index)
static int endOfDelimitedByAny(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull com.vladsch.flexmark.util.misc.CharPredicate s,
int index)
@NotNull static @NotNull Range lineRangeAt(@NotNull @NotNull CharSequence thizz, int index)
@NotNull static @NotNull Range lineRangeAtAnyEOL(@NotNull @NotNull CharSequence thizz, int index)
@NotNull static @NotNull Range eolEndRange(@NotNull @NotNull CharSequence thizz, int eolEnd)
@NotNull static @NotNull Range eolStartRange(@NotNull @NotNull CharSequence thizz, int eolStart)
@NotNull static <T extends CharSequence> T trimEOL(@NotNull T thizz)
@Nullable static <T extends CharSequence> T trimmedEOL(@NotNull T thizz)
@Nullable static <T extends CharSequence> T trimTailBlankLines(@NotNull T thizz)
@Nullable static <T extends CharSequence> T trimLeadBlankLines(@NotNull T thizz)
@NotNull static @NotNull Range leadingBlankLinesRange(@NotNull @NotNull CharSequence thizz)
@NotNull static @NotNull Range leadingBlankLinesRange(@NotNull @NotNull CharSequence thizz, int startIndex)
@NotNull static @NotNull Range leadingBlankLinesRange(@NotNull @NotNull CharSequence thizz, int fromIndex, int endIndex)
@NotNull static @NotNull Range trailingBlankLinesRange(@NotNull @NotNull CharSequence thizz)
@NotNull static @NotNull Range trailingBlankLinesRange(@NotNull @NotNull CharSequence thizz, int fromIndex)
@NotNull static @NotNull Range trailingBlankLinesRange(@NotNull @NotNull CharSequence thizz, int startIndex, int fromIndex)
@NotNull static @NotNull Range trailingBlankLinesRange(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate eolChars, int startIndex, int fromIndex)
@NotNull static @NotNull Range leadingBlankLinesRange(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate eolChars, int fromIndex, int endIndex)
@NotNull static @NotNull List<Range> blankLinesRemovedRanges(@NotNull @NotNull CharSequence thizz)
@NotNull static @NotNull List<Range> blankLinesRemovedRanges(@NotNull @NotNull CharSequence thizz, int fromIndex)
@NotNull static @NotNull List<Range> blankLinesRemovedRanges(@NotNull @NotNull CharSequence thizz, int fromIndex, int endIndex)
@NotNull static @NotNull List<Range> blankLinesRemovedRanges(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate eolChars, int fromIndex, int endIndex)
static boolean isEmpty(@NotNull
@NotNull CharSequence thizz)
static boolean isBlank(@NotNull
@NotNull CharSequence thizz)
static boolean isNotEmpty(@NotNull
@NotNull CharSequence thizz)
static boolean isNotBlank(@NotNull
@NotNull CharSequence thizz)
static boolean endsWith(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull CharSequence suffix)
static boolean endsWith(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull CharSequence suffix,
boolean ignoreCase)
static boolean startsWith(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull CharSequence prefix)
static boolean startsWith(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull CharSequence prefix,
boolean ignoreCase)
static boolean endsWith(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
static boolean startsWith(@NotNull
@NotNull CharSequence thizz,
@NotNull
@NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
static boolean endsWithEOL(@NotNull
@NotNull CharSequence thizz)
static boolean endsWithAnyEOL(@NotNull
@NotNull CharSequence thizz)
static boolean endsWithSpace(@NotNull
@NotNull CharSequence thizz)
static boolean endsWithSpaceTab(@NotNull
@NotNull CharSequence thizz)
static boolean endsWithWhitespace(@NotNull
@NotNull CharSequence thizz)
static boolean startsWithEOL(@NotNull
@NotNull CharSequence thizz)
static boolean startsWithAnyEOL(@NotNull
@NotNull CharSequence thizz)
static boolean startsWithSpace(@NotNull
@NotNull CharSequence thizz)
static boolean startsWithSpaceTab(@NotNull
@NotNull CharSequence thizz)
static boolean startsWithWhitespace(@NotNull
@NotNull CharSequence thizz)
@NotNull static <T extends CharSequence> @NotNull List<T> splitList(@NotNull T thizz, @NotNull @NotNull CharSequence delimiter)
@NotNull static <T extends CharSequence> @NotNull List<T> splitList(@NotNull T thizz, @NotNull @NotNull CharSequence delimiter, int limit, boolean includeDelims, @Nullable @Nullable com.vladsch.flexmark.util.misc.CharPredicate trimChars)
@NotNull static <T extends CharSequence> @NotNull List<T> splitList(@NotNull T thizz, @NotNull @NotNull CharSequence delimiter, int limit, int flags)
@NotNull static <T extends CharSequence> @NotNull List<T> splitList(@NotNull T thizz, @NotNull @NotNull CharSequence delimiter, boolean includeDelims, @Nullable @Nullable com.vladsch.flexmark.util.misc.CharPredicate trimChars)
@NotNull static <T extends CharSequence> @NotNull List<T> splitListEOL(@NotNull T thizz)
@NotNull static <T extends CharSequence> @NotNull List<T> splitListEOL(@NotNull T thizz, boolean includeDelims)
@NotNull static <T extends CharSequence> @NotNull List<T> splitListEOL(@NotNull T thizz, boolean includeDelims, @Nullable @Nullable com.vladsch.flexmark.util.misc.CharPredicate trimChars)
@NotNull static <T extends CharSequence> T[] splitEOL(@NotNull T thizz, T[] emptyArray)
@NotNull static <T extends CharSequence> T[] splitEOL(@NotNull T thizz, T[] emptyArray, boolean includeDelims)
@NotNull static <T extends CharSequence> T[] split(@NotNull T thizz, T[] emptyArray, @NotNull @NotNull CharSequence delimiter, boolean includeDelims, @Nullable @Nullable com.vladsch.flexmark.util.misc.CharPredicate trimChars)
@NotNull static <T extends CharSequence> T[] split(@NotNull T thizz, T[] emptyArray, @NotNull @NotNull CharSequence delimiter)
@NotNull static <T extends CharSequence> T[] split(@NotNull T thizz, T[] emptyArray, @NotNull @NotNull CharSequence delimiter, int limit, boolean includeDelims, @Nullable @Nullable com.vladsch.flexmark.util.misc.CharPredicate trimChars)
@NotNull static <T extends CharSequence> T[] split(@NotNull T thizz, T[] emptyArray, @NotNull @NotNull CharSequence delimiter, int limit, int flags)
@NotNull static <T extends CharSequence> T[] split(@NotNull T thizz, T[] emptyArray, @NotNull @NotNull CharSequence delimiter, int limit, int flags, @Nullable @Nullable com.vladsch.flexmark.util.misc.CharPredicate trimChars)
@NotNull static <T extends CharSequence> @NotNull List<T> splitList(@NotNull T thizz, @NotNull @NotNull CharSequence delimiter, int limit, int flags, @Nullable @Nullable com.vladsch.flexmark.util.misc.CharPredicate trimChars)
static int columnAtIndex(@NotNull
@NotNull CharSequence thizz,
int index)
@NotNull static @NotNull com.vladsch.flexmark.util.misc.Pair<Integer,Integer> lineColumnAtIndex(@NotNull @NotNull CharSequence thizz, int index)
static void validateIndex(int index,
int length)
static void validateIndexInclusiveEnd(int index,
int length)
static void validateStartEnd(int startIndex,
int endIndex,
int length)
static int parseUnsignedIntOrDefault(String text, int defaultValue)
static int parseUnsignedIntOrDefault(String text, int defaultValue, int radix)
static int parseIntOrDefault(String text, int defaultValue)
static int parseIntOrDefault(String text, int defaultValue, int radix)
@Nullable static @Nullable Number parseNumberOrNull(@Nullable @Nullable String text)
Will parse 0x, 0b, octal if starts with 0, decimal
text - text containing the number to parse@Nullable static @Nullable com.vladsch.flexmark.util.misc.Pair<Number,String> parseNumberPrefixOrNull(@Nullable @Nullable String text, @Nullable @Nullable Predicate<String> suffixTester)
Will parse 0x, 0b, octal if starts with 0, decimal
text - text containing the number to parsesuffixTester - predicate to test number suffix, if null or predicate returns true then sequence will be accepted as validstatic <T extends CharSequence> boolean containedBy(@NotNull T[] items, @NotNull @NotNull CharSequence element)
static boolean containedBy(@NotNull
@NotNull Collection<? extends CharSequence> items,
@NotNull
@NotNull CharSequence element)
Copyright © 2020. All rights reserved.