Interface SequenceUtils
-
- All Known Subinterfaces:
BasedSequence,IRichSequence<T>,ReplacedBasedSequence,RichSequence
- All Known Implementing Classes:
BasedSequence.EmptyBasedSequence,BasedSequenceImpl,CharSubSequence,IRichSequenceBase,MappedBasedSequence,MappedRichSequence,PrefixedSubSequence,RichSequenceImpl,SegmentedSequence,SegmentedSequenceFull,SegmentedSequenceTree,SubSequence
public interface SequenceUtils
-
-
Field Summary
Fields Modifier and Type Field Description static StringANY_EOLstatic com.vladsch.flexmark.util.misc.CharPredicateANY_EOL_SETDeprecated.static com.vladsch.flexmark.util.misc.CharPredicateBACKSLASH_SETDeprecated.static com.vladsch.flexmark.util.misc.CharPredicateDECIMAL_DIGITSDeprecated.static int[]EMPTY_INDICESstatic charENC_NULstatic StringEOLstatic charEOL_CHARstatic charEOL_CHAR1static charEOL_CHAR2static StringEOL_CHARSDeprecated.static com.vladsch.flexmark.util.misc.CharPredicateEOL_SETDeprecated.static com.vladsch.flexmark.util.misc.CharPredicateHASH_SETDeprecated.static com.vladsch.flexmark.util.misc.CharPredicateHEXADECIMAL_DIGITSDeprecated.static StringLINE_SEPstatic charLSstatic charLSEPDeprecated.use new names insteadstatic charNBSPstatic StringNBSP_CHARSstatic charNULstatic com.vladsch.flexmark.util.misc.CharPredicateOCTAL_DIGITSDeprecated.static StringSPACEstatic StringSPACE_EOLstatic com.vladsch.flexmark.util.misc.CharPredicateSPACE_EOL_SETDeprecated.static com.vladsch.flexmark.util.misc.CharPredicateSPACE_SETDeprecated.use CharPredicate fields directlystatic StringSPACE_TABstatic com.vladsch.flexmark.util.misc.CharPredicateSPACE_TAB_EOL_SETDeprecated.static com.vladsch.flexmark.util.misc.CharPredicateSPACE_TAB_NBSP_SETDeprecated.static com.vladsch.flexmark.util.misc.CharPredicateSPACE_TAB_SETDeprecated.static charSPCstatic intSPLIT_INCLUDE_DELIM_PARTSstatic intSPLIT_INCLUDE_DELIMSstatic intSPLIT_SKIP_EMPTYstatic intSPLIT_TRIM_PARTSstatic intSPLIT_TRIM_SKIP_EMPTYstatic com.vladsch.flexmark.util.misc.CharPredicateTAB_SETDeprecated.static charUSstatic StringUS_CHARSstatic com.vladsch.flexmark.util.misc.CharPredicateUS_SETDeprecated.static Map<Character,String>visibleSpacesMapstatic StringWHITESPACEstatic StringWHITESPACE_CHARSDeprecated.static StringWHITESPACE_NBSPstatic StringWHITESPACE_NBSP_CHARSDeprecated.static com.vladsch.flexmark.util.misc.CharPredicateWHITESPACE_NBSP_SETDeprecated.static StringWHITESPACE_NO_EOL_CHARSDeprecated.static com.vladsch.flexmark.util.misc.CharPredicateWHITESPACE_SETDeprecated.
-
Method Summary
Static Methods Modifier and Type Method Description static @NotNull List<Range>blankLinesRemovedRanges(@NotNull CharSequence thizz)static @NotNull List<Range>blankLinesRemovedRanges(@NotNull CharSequence thizz, int fromIndex)static @NotNull List<Range>blankLinesRemovedRanges(@NotNull CharSequence thizz, int fromIndex, int endIndex)static @NotNull List<Range>blankLinesRemovedRanges(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate eolChars, int fromIndex, int endIndex)static intcolumnAtIndex(@NotNull CharSequence thizz, int index)static intcolumnsToNextTabStop(int column)static intcompare(@Nullable CharSequence o1, @Nullable CharSequence o2)static intcompare(@Nullable CharSequence o1, @Nullable CharSequence o2, boolean ignoreCase)static intcompare(@Nullable CharSequence o1, @Nullable CharSequence o2, boolean ignoreCase, @Nullable com.vladsch.flexmark.util.misc.CharPredicate ignoreChars)static intcompareReversed(@Nullable CharSequence o1, @Nullable CharSequence o2)static booleancontainedBy(@NotNull Collection<? extends CharSequence> items, @NotNull CharSequence element)static <T extends CharSequence>
booleancontainedBy(@NotNull T[] items, @NotNull CharSequence element)static booleancontainsAny(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate s)static booleancontainsAny(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate s, int index)static booleancontainsAnyNot(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate s)static booleancontainsAnyNot(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate s, int fromIndex)static booleancontainsAnyNot(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate s, int fromIndex, int endIndex)static intcountLeading(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)static intcountLeading(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars, int fromIndex)static intcountLeading(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars, int fromIndex, int endIndex)static intcountLeadingColumns(@NotNull CharSequence thizz, int startColumn, @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)static intcountLeadingNot(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)static intcountLeadingNot(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars, int fromIndex)static intcountLeadingNot(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars, int startIndex, int endIndex)static intcountLeadingNotSpace(@NotNull CharSequence thizz)static intcountLeadingNotSpace(@NotNull CharSequence thizz, int startIndex)static intcountLeadingNotSpace(@NotNull CharSequence thizz, int startIndex, int endIndex)static intcountLeadingNotSpaceTab(@NotNull CharSequence thizz)static intcountLeadingNotSpaceTab(@NotNull CharSequence thizz, int startIndex)static intcountLeadingNotSpaceTab(@NotNull CharSequence thizz, int startIndex, int endIndex)static intcountLeadingNotWhitespace(@NotNull CharSequence thizz)static intcountLeadingNotWhitespace(@NotNull CharSequence thizz, int startIndex)static intcountLeadingNotWhitespace(@NotNull CharSequence thizz, int startIndex, int endIndex)static intcountLeadingSpace(@NotNull CharSequence thizz)static intcountLeadingSpace(@NotNull CharSequence thizz, int startIndex)static intcountLeadingSpace(@NotNull CharSequence thizz, int startIndex, int endIndex)static intcountLeadingSpaceTab(@NotNull CharSequence thizz)static intcountLeadingSpaceTab(@NotNull CharSequence thizz, int startIndex)static intcountLeadingSpaceTab(@NotNull CharSequence thizz, int startIndex, int endIndex)static intcountLeadingWhitespace(@NotNull CharSequence thizz)static intcountLeadingWhitespace(@NotNull CharSequence thizz, int startIndex)static intcountLeadingWhitespace(@NotNull CharSequence thizz, int startIndex, int endIndex)static intcountOfAny(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)static intcountOfAny(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars, int fromIndex)static intcountOfAny(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate s, int fromIndex, int endIndex)static intcountOfAnyNot(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)static intcountOfAnyNot(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars, int fromIndex)static intcountOfAnyNot(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars, int fromIndex, int endIndex)static intcountOfNotSpaceTab(@NotNull CharSequence thizz)static intcountOfNotWhitespace(@NotNull CharSequence thizz)static intcountOfSpaceTab(@NotNull CharSequence thizz)static intcountOfWhitespace(@NotNull CharSequence thizz)static intcountTrailing(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)static intcountTrailing(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars, int fromIndex)static intcountTrailing(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars, int startIndex, int fromIndex)static intcountTrailingNot(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)static intcountTrailingNot(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars, int fromIndex)static intcountTrailingNot(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars, int startIndex, int endIndex)static intcountTrailingNotSpace(@NotNull CharSequence thizz)static intcountTrailingNotSpace(@NotNull CharSequence thizz, int fromIndex)static intcountTrailingNotSpace(@NotNull CharSequence thizz, int startIndex, int fromIndex)static intcountTrailingNotSpaceTab(@NotNull CharSequence thizz)static intcountTrailingNotSpaceTab(@NotNull CharSequence thizz, int fromIndex)static intcountTrailingNotSpaceTab(@NotNull CharSequence thizz, int startIndex, int fromIndex)static intcountTrailingNotWhitespace(@NotNull CharSequence thizz)static intcountTrailingNotWhitespace(@NotNull CharSequence thizz, int fromIndex)static intcountTrailingNotWhitespace(@NotNull CharSequence thizz, int startIndex, int fromIndex)static intcountTrailingSpace(@NotNull CharSequence thizz)static intcountTrailingSpace(@NotNull CharSequence thizz, int fromIndex)static intcountTrailingSpace(@NotNull CharSequence thizz, int startIndex, int fromIndex)static intcountTrailingSpaceTab(@NotNull CharSequence thizz)static intcountTrailingSpaceTab(@NotNull CharSequence thizz, int fromIndex)static intcountTrailingSpaceTab(@NotNull CharSequence thizz, int startIndex, int fromIndex)static intcountTrailingWhitespace(@NotNull CharSequence thizz)static intcountTrailingWhitespace(@NotNull CharSequence thizz, int fromIndex)static intcountTrailingWhitespace(@NotNull CharSequence thizz, int startIndex, int fromIndex)static intendOfDelimitedBy(@NotNull CharSequence thizz, @NotNull CharSequence s, int index)static intendOfDelimitedByAny(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate s, int index)static intendOfDelimitedByAnyNot(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate s, int index)static intendOfLine(@NotNull CharSequence thizz, int index)static intendOfLineAnyEOL(@NotNull CharSequence thizz, int index)static booleanendsWith(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)static booleanendsWith(@NotNull CharSequence thizz, @NotNull CharSequence suffix)static booleanendsWith(@NotNull CharSequence thizz, @NotNull CharSequence suffix, boolean ignoreCase)static booleanendsWithAnyEOL(@NotNull CharSequence thizz)static booleanendsWithEOL(@NotNull CharSequence thizz)static booleanendsWithSpace(@NotNull CharSequence thizz)static booleanendsWithSpaceTab(@NotNull CharSequence thizz)static booleanendsWithWhitespace(@NotNull CharSequence thizz)static inteolEndLength(@NotNull CharSequence thizz)static inteolEndLength(@NotNull CharSequence thizz, int eolEnd)static @NotNull RangeeolEndRange(@NotNull CharSequence thizz, int eolEnd)static inteolStartLength(@NotNull CharSequence thizz, int eolStart)static @NotNull RangeeolStartRange(@NotNull CharSequence thizz, int eolStart)static booleanequals(@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 equalstatic @org.jetbrains.annotations.NotNull int[]expandTo(@org.jetbrains.annotations.NotNull int[] indices, int length, int step)static charfirstChar(@NotNull CharSequence thizz)static Map<Character,String>getVisibleSpacesMap()static inthashCode(@NotNull CharSequence thizz)static intindexOf(@NotNull CharSequence thizz, char c)static intindexOf(@NotNull CharSequence thizz, char c, int fromIndex)static intindexOf(@NotNull CharSequence thizz, char c, int fromIndex, int endIndex)static intindexOf(@NotNull CharSequence thizz, @NotNull CharSequence s)static intindexOf(@NotNull CharSequence thizz, @NotNull CharSequence s, int fromIndex)static intindexOf(@NotNull CharSequence thizz, @NotNull CharSequence s, int fromIndex, int endIndex)static @org.jetbrains.annotations.NotNull int[]indexOfAll(@NotNull CharSequence thizz, @NotNull CharSequence s)static intindexOfAny(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate s)static intindexOfAny(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate s, int index)static intindexOfAny(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate s, int fromIndex, int endIndex)static intindexOfAnyNot(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate s)static intindexOfAnyNot(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate s, int fromIndex)static intindexOfAnyNot(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate s, int fromIndex, int endIndex)static intindexOfNot(@NotNull CharSequence thizz, char c)static intindexOfNot(@NotNull CharSequence thizz, char c, int fromIndex)static intindexOfNot(@NotNull CharSequence thizz, char c, int fromIndex, int endIndex)static booleanisBlank(@NotNull CharSequence thizz)static booleanisEmpty(@NotNull CharSequence thizz)static booleanisNotBlank(@NotNull CharSequence thizz)static booleanisNotEmpty(@NotNull CharSequence thizz)static booleanisVisibleWhitespace(char c)static charlastChar(@NotNull CharSequence thizz)static intlastIndexOf(@NotNull CharSequence thizz, char c)static intlastIndexOf(@NotNull CharSequence thizz, char c, int fromIndex)static intlastIndexOf(@NotNull CharSequence thizz, char c, int startIndex, int fromIndex)static intlastIndexOf(@NotNull CharSequence thizz, @NotNull CharSequence s)static intlastIndexOf(@NotNull CharSequence thizz, @NotNull CharSequence s, int fromIndex)static intlastIndexOf(@NotNull CharSequence thizz, @NotNull CharSequence s, int startIndex, int fromIndex)static intlastIndexOfAny(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate s)static intlastIndexOfAny(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate s, int fromIndex)static intlastIndexOfAny(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate s, int startIndex, int fromIndex)static intlastIndexOfAnyNot(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate s)static intlastIndexOfAnyNot(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate s, int fromIndex)static intlastIndexOfAnyNot(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate s, int startIndex, int fromIndex)static intlastIndexOfNot(@NotNull CharSequence thizz, char c)static intlastIndexOfNot(@NotNull CharSequence thizz, char c, int fromIndex)static intlastIndexOfNot(@NotNull CharSequence thizz, char c, int startIndex, int fromIndex)static @NotNull RangeleadingBlankLinesRange(@NotNull CharSequence thizz)static @NotNull RangeleadingBlankLinesRange(@NotNull CharSequence thizz, int startIndex)static @NotNull RangeleadingBlankLinesRange(@NotNull CharSequence thizz, int fromIndex, int endIndex)static @NotNull RangeleadingBlankLinesRange(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate eolChars, int fromIndex, int endIndex)static @NotNull com.vladsch.flexmark.util.misc.Pair<Integer,Integer>lineColumnAtIndex(@NotNull CharSequence thizz, int index)static @NotNull RangelineRangeAt(@NotNull CharSequence thizz, int index)static @NotNull RangelineRangeAtAnyEOL(@NotNull CharSequence thizz, int index)static booleanmatchChars(@NotNull CharSequence thizz, @NotNull CharSequence chars)static booleanmatchChars(@NotNull CharSequence thizz, @NotNull CharSequence chars, boolean ignoreCase)static booleanmatchChars(@NotNull CharSequence thizz, @NotNull CharSequence chars, int startIndex)static booleanmatchChars(@NotNull CharSequence thizz, @NotNull CharSequence chars, int startIndex, boolean ignoreCase)static booleanmatchCharsIgnoreCase(@NotNull CharSequence thizz, @NotNull CharSequence chars)static booleanmatchCharsIgnoreCase(@NotNull CharSequence thizz, @NotNull CharSequence chars, int startIndex)static booleanmatchCharsReversed(@NotNull CharSequence thizz, @NotNull CharSequence chars, int endIndex)static booleanmatchCharsReversed(@NotNull CharSequence thizz, @NotNull CharSequence chars, int endIndex, boolean ignoreCase)static booleanmatchCharsReversedIgnoreCase(@NotNull CharSequence thizz, @NotNull CharSequence chars, int endIndex)static intmatchedCharCount(@NotNull CharSequence thizz, @NotNull CharSequence chars, int startIndex)static intmatchedCharCount(@NotNull CharSequence thizz, @NotNull CharSequence chars, int startIndex, boolean ignoreCase)static intmatchedCharCount(@NotNull CharSequence thizz, @NotNull CharSequence chars, int startIndex, int endIndex)static intmatchedCharCount(@NotNull CharSequence thizz, @NotNull CharSequence chars, int startIndex, int endIndex, boolean ignoreCase)static intmatchedCharCount(@NotNull CharSequence thizz, @NotNull CharSequence chars, int startIndex, int endIndex, boolean fullMatchOnly, boolean ignoreCase)static intmatchedCharCountIgnoreCase(@NotNull CharSequence thizz, @NotNull CharSequence chars, int startIndex)static intmatchedCharCountIgnoreCase(@NotNull CharSequence thizz, @NotNull CharSequence chars, int startIndex, int endIndex)static intmatchedCharCountReversed(@NotNull CharSequence thizz, @NotNull CharSequence chars, int fromIndex)static intmatchedCharCountReversed(@NotNull CharSequence thizz, @NotNull CharSequence chars, int fromIndex, boolean ignoreCase)static intmatchedCharCountReversed(@NotNull CharSequence thizz, @NotNull CharSequence chars, int startIndex, int fromIndex)static intmatchedCharCountReversed(@NotNull CharSequence thizz, @NotNull CharSequence chars, int startIndex, int fromIndex, boolean ignoreCase)static intmatchedCharCountReversedIgnoreCase(@NotNull CharSequence thizz, @NotNull CharSequence chars, int fromIndex)static intmatchedCharCountReversedIgnoreCase(@NotNull CharSequence thizz, @NotNull CharSequence chars, int startIndex, int fromIndex)static booleanmatches(@NotNull CharSequence thizz, @NotNull CharSequence chars)static booleanmatches(@NotNull CharSequence thizz, @NotNull CharSequence chars, boolean ignoreCase)static booleanmatchesIgnoreCase(@NotNull CharSequence thizz, @NotNull CharSequence chars)static @NotNull StringpadEnd(@NotNull CharSequence thizz, int length)static @NotNull StringpadEnd(@NotNull CharSequence thizz, int length, char pad)static @NotNull StringpadStart(@NotNull CharSequence thizz, int length)static @NotNull StringpadStart(@NotNull CharSequence thizz, int length, char pad)static intparseIntOrDefault(String text, int defaultValue)static intparseIntOrDefault(String text, int defaultValue, int radix)static IntegerparseIntOrNull(String text)static IntegerparseIntOrNull(String text, int radix)static LongparseLongOrNull(String text)static LongparseLongOrNull(String text, int radix)static @Nullable NumberparseNumberOrNull(@Nullable String text)Parse number from textstatic @Nullable com.vladsch.flexmark.util.misc.Pair<Number,String>parseNumberPrefixOrNull(@Nullable String text, @Nullable Predicate<String> suffixTester)Parse number from textstatic intparseUnsignedIntOrDefault(String text, int defaultValue)static intparseUnsignedIntOrDefault(String text, int defaultValue, int radix)static IntegerparseUnsignedIntOrNull(String text)static IntegerparseUnsignedIntOrNull(String text, int radix)static charsafeCharAt(@NotNull CharSequence thizz, int index)static <T extends CharSequence>
@NotNull T[]split(T thizz, T[] emptyArray, @NotNull CharSequence delimiter)static <T extends CharSequence>
@NotNull T[]split(T thizz, T[] emptyArray, @NotNull CharSequence delimiter, boolean includeDelims, @Nullable com.vladsch.flexmark.util.misc.CharPredicate trimChars)static <T extends CharSequence>
@NotNull T[]split(T thizz, T[] emptyArray, @NotNull CharSequence delimiter, int limit, boolean includeDelims, @Nullable com.vladsch.flexmark.util.misc.CharPredicate trimChars)static <T extends CharSequence>
@NotNull T[]split(T thizz, T[] emptyArray, @NotNull CharSequence delimiter, int limit, int flags)static <T extends CharSequence>
@NotNull T[]split(T thizz, T[] emptyArray, @NotNull CharSequence delimiter, int limit, int flags, @Nullable com.vladsch.flexmark.util.misc.CharPredicate trimChars)static <T extends CharSequence>
@NotNull T[]splitEOL(T thizz, T[] emptyArray)static <T extends CharSequence>
@NotNull T[]splitEOL(T thizz, T[] emptyArray, boolean includeDelims)static <T extends CharSequence>
@NotNull List<T>splitList(T thizz, @NotNull CharSequence delimiter)static <T extends CharSequence>
@NotNull List<T>splitList(T thizz, @NotNull CharSequence delimiter, boolean includeDelims, @Nullable com.vladsch.flexmark.util.misc.CharPredicate trimChars)static <T extends CharSequence>
@NotNull List<T>splitList(T thizz, @NotNull CharSequence delimiter, int limit, boolean includeDelims, @Nullable com.vladsch.flexmark.util.misc.CharPredicate trimChars)static <T extends CharSequence>
@NotNull List<T>splitList(T thizz, @NotNull CharSequence delimiter, int limit, int flags)static <T extends CharSequence>
@NotNull List<T>splitList(T thizz, @NotNull CharSequence delimiter, int limit, int flags, @Nullable com.vladsch.flexmark.util.misc.CharPredicate trimChars)static <T extends CharSequence>
@NotNull List<T>splitListEOL(T thizz)static <T extends CharSequence>
@NotNull List<T>splitListEOL(T thizz, boolean includeDelims)static <T extends CharSequence>
@NotNull List<T>splitListEOL(T thizz, boolean includeDelims, @Nullable com.vladsch.flexmark.util.misc.CharPredicate trimChars)static intstartOfDelimitedBy(@NotNull CharSequence thizz, @NotNull CharSequence s, int index)static intstartOfDelimitedByAny(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate s, int index)static intstartOfDelimitedByAnyNot(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate s, int index)static intstartOfLine(@NotNull CharSequence thizz, int index)static intstartOfLineAnyEOL(@NotNull CharSequence thizz, int index)static booleanstartsWith(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)static booleanstartsWith(@NotNull CharSequence thizz, @NotNull CharSequence prefix)static booleanstartsWith(@NotNull CharSequence thizz, @NotNull CharSequence prefix, boolean ignoreCase)static booleanstartsWithAnyEOL(@NotNull CharSequence thizz)static booleanstartsWithEOL(@NotNull CharSequence thizz)static booleanstartsWithSpace(@NotNull CharSequence thizz)static booleanstartsWithSpaceTab(@NotNull CharSequence thizz)static booleanstartsWithWhitespace(@NotNull CharSequence thizz)static <T extends CharSequence>
TsubSequence(T thizz, int startIndex)static <T extends CharSequence>
TsubSequence(T thizz, @NotNull Range range)Get a portion of this sequence selected by rangestatic <T extends CharSequence>
TsubSequenceAfter(T thizz, @NotNull Range range)Get a portion of this sequence after one selected by rangestatic <T extends CharSequence>
TsubSequenceBefore(T thizz, @NotNull Range range)Get a portion of this sequence before one selected by rangestatic <T extends CharSequence>
@NotNull com.vladsch.flexmark.util.misc.Pair<T,T>subSequenceBeforeAfter(T thizz, Range range)Get a portions of this sequence before and after one selected by rangestatic @NotNull String[]toStringArray(CharSequence... sequences)static @NotNull StringtoVisibleWhitespaceString(@NotNull CharSequence thizz)static @NotNull RangetrailingBlankLinesRange(@NotNull CharSequence thizz)static @NotNull RangetrailingBlankLinesRange(@NotNull CharSequence thizz, int fromIndex)static @NotNull RangetrailingBlankLinesRange(@NotNull CharSequence thizz, int startIndex, int fromIndex)static @NotNull RangetrailingBlankLinesRange(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate eolChars, int startIndex, int fromIndex)static <T extends CharSequence>
Ttrim(T thizz)static <T extends CharSequence>
Ttrim(T thizz, int keep)static <T extends CharSequence>
Ttrim(T thizz, int keep, @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)static <T extends CharSequence>
Ttrim(T thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)static <T extends CharSequence>
TtrimEnd(T thizz)static <T extends CharSequence>
TtrimEnd(T thizz, int keep)static <T extends CharSequence>
TtrimEnd(T thizz, int keep, @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)static <T extends CharSequence>
TtrimEnd(T thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)static RangetrimEndRange(@NotNull CharSequence thizz)static RangetrimEndRange(@NotNull CharSequence thizz, int keep)static @NotNull RangetrimEndRange(@NotNull CharSequence thizz, int keep, @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)static RangetrimEndRange(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)static <T extends CharSequence>
TtrimEOL(T thizz)static <T extends CharSequence>
TtrimLeadBlankLines(T thizz)static <T extends CharSequence>
@NotNull com.vladsch.flexmark.util.misc.Pair<T,T>trimmed(T thizz)static <T extends CharSequence>
@NotNull com.vladsch.flexmark.util.misc.Pair<T,T>trimmed(T thizz, int keep)static <T extends CharSequence>
@NotNull com.vladsch.flexmark.util.misc.Pair<T,T>trimmed(T thizz, int keep, @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)static <T extends CharSequence>
@NotNull com.vladsch.flexmark.util.misc.Pair<T,T>trimmed(T thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)static <T extends CharSequence>
TtrimmedEnd(T thizz)static <T extends CharSequence>
TtrimmedEnd(T thizz, int keep)static <T extends CharSequence>
TtrimmedEnd(T thizz, int keep, @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)static <T extends CharSequence>
TtrimmedEnd(T thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)static <T extends CharSequence>
TtrimmedEOL(T thizz)static <T extends CharSequence>
TtrimmedStart(T thizz)static <T extends CharSequence>
TtrimmedStart(T thizz, int keep)static <T extends CharSequence>
TtrimmedStart(T thizz, int keep, @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)static <T extends CharSequence>
TtrimmedStart(T thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)static RangetrimRange(@NotNull CharSequence thizz)static RangetrimRange(@NotNull CharSequence thizz, int keep)static @NotNull RangetrimRange(@NotNull CharSequence thizz, int keep, @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)static RangetrimRange(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)static <T extends CharSequence>
TtrimStart(T thizz)static <T extends CharSequence>
TtrimStart(T thizz, int keep)static <T extends CharSequence>
TtrimStart(T thizz, int keep, @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)static <T extends CharSequence>
TtrimStart(T thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)static RangetrimStartRange(@NotNull CharSequence thizz)static RangetrimStartRange(@NotNull CharSequence thizz, int keep)static @NotNull RangetrimStartRange(@NotNull CharSequence thizz, int keep, @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)static RangetrimStartRange(@NotNull CharSequence thizz, @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)static <T extends CharSequence>
TtrimTailBlankLines(T thizz)static @org.jetbrains.annotations.NotNull int[]truncateTo(@org.jetbrains.annotations.NotNull int[] indices, int length)static voidvalidateIndex(int index, int length)static voidvalidateIndexInclusiveEnd(int index, int length)static voidvalidateStartEnd(int startIndex, int endIndex, int length)
-
-
-
Field Detail
-
EOL
static final String EOL
- See Also:
- Constant Field Values
-
SPACE
static final String SPACE
- See Also:
- Constant Field Values
-
ANY_EOL
static final String ANY_EOL
- See Also:
- Constant Field Values
-
EOL_CHAR
static final char EOL_CHAR
-
EOL_CHAR1
static final char EOL_CHAR1
-
EOL_CHAR2
static final char EOL_CHAR2
-
SPC
static final char SPC
- See Also:
- Constant Field Values
-
NUL
static final char NUL
- See Also:
- Constant Field Values
-
ENC_NUL
static final char ENC_NUL
- See Also:
- Constant Field Values
-
NBSP
static final char NBSP
- See Also:
- Constant Field Values
-
LS
static final char LS
- See Also:
- Constant Field Values
-
US
static final char US
- See Also:
- Constant Field Values
-
LINE_SEP
static final String LINE_SEP
-
SPACE_TAB
static final String SPACE_TAB
- See Also:
- Constant Field Values
-
SPACE_EOL
static final String SPACE_EOL
- See Also:
- Constant Field Values
-
US_CHARS
static final String US_CHARS
-
WHITESPACE
static final String WHITESPACE
- See Also:
- Constant Field Values
-
NBSP_CHARS
static final String NBSP_CHARS
-
WHITESPACE_NBSP
static final String WHITESPACE_NBSP
- See Also:
- Constant Field Values
-
SPACE_SET
@Deprecated static final com.vladsch.flexmark.util.misc.CharPredicate SPACE_SET
Deprecated.use CharPredicate fields directly
-
TAB_SET
@Deprecated static final com.vladsch.flexmark.util.misc.CharPredicate TAB_SET
Deprecated.
-
EOL_SET
@Deprecated static final com.vladsch.flexmark.util.misc.CharPredicate EOL_SET
Deprecated.
-
SPACE_TAB_SET
@Deprecated static final com.vladsch.flexmark.util.misc.CharPredicate SPACE_TAB_SET
Deprecated.
-
SPACE_TAB_NBSP_SET
@Deprecated static final com.vladsch.flexmark.util.misc.CharPredicate SPACE_TAB_NBSP_SET
Deprecated.
-
SPACE_TAB_EOL_SET
@Deprecated static final com.vladsch.flexmark.util.misc.CharPredicate SPACE_TAB_EOL_SET
Deprecated.
-
SPACE_EOL_SET
@Deprecated static final com.vladsch.flexmark.util.misc.CharPredicate SPACE_EOL_SET
Deprecated.
-
ANY_EOL_SET
@Deprecated static final com.vladsch.flexmark.util.misc.CharPredicate ANY_EOL_SET
Deprecated.
-
WHITESPACE_SET
@Deprecated static final com.vladsch.flexmark.util.misc.CharPredicate WHITESPACE_SET
Deprecated.
-
WHITESPACE_NBSP_SET
@Deprecated static final com.vladsch.flexmark.util.misc.CharPredicate WHITESPACE_NBSP_SET
Deprecated.
-
BACKSLASH_SET
@Deprecated static final com.vladsch.flexmark.util.misc.CharPredicate BACKSLASH_SET
Deprecated.
-
US_SET
@Deprecated static final com.vladsch.flexmark.util.misc.CharPredicate US_SET
Deprecated.
-
HASH_SET
@Deprecated static final com.vladsch.flexmark.util.misc.CharPredicate HASH_SET
Deprecated.
-
DECIMAL_DIGITS
@Deprecated static final com.vladsch.flexmark.util.misc.CharPredicate DECIMAL_DIGITS
Deprecated.
-
HEXADECIMAL_DIGITS
@Deprecated static final com.vladsch.flexmark.util.misc.CharPredicate HEXADECIMAL_DIGITS
Deprecated.
-
OCTAL_DIGITS
@Deprecated static final com.vladsch.flexmark.util.misc.CharPredicate OCTAL_DIGITS
Deprecated.
-
LSEP
@Deprecated static final char LSEP
Deprecated.use new names instead- See Also:
- Constant Field Values
-
EOL_CHARS
@Deprecated static final String EOL_CHARS
Deprecated.- See Also:
- Constant Field Values
-
WHITESPACE_NO_EOL_CHARS
@Deprecated static final String WHITESPACE_NO_EOL_CHARS
Deprecated.- See Also:
- Constant Field Values
-
WHITESPACE_CHARS
@Deprecated static final String WHITESPACE_CHARS
Deprecated.- See Also:
- Constant Field Values
-
WHITESPACE_NBSP_CHARS
@Deprecated static final String WHITESPACE_NBSP_CHARS
Deprecated.- See Also:
- Constant Field Values
-
SPLIT_INCLUDE_DELIMS
static final int SPLIT_INCLUDE_DELIMS
- See Also:
- Constant Field Values
-
SPLIT_TRIM_PARTS
static final int SPLIT_TRIM_PARTS
- See Also:
- Constant Field Values
-
SPLIT_SKIP_EMPTY
static final int SPLIT_SKIP_EMPTY
- See Also:
- Constant Field Values
-
SPLIT_INCLUDE_DELIM_PARTS
static final int SPLIT_INCLUDE_DELIM_PARTS
- See Also:
- Constant Field Values
-
SPLIT_TRIM_SKIP_EMPTY
static final int SPLIT_TRIM_SKIP_EMPTY
- See Also:
- Constant Field Values
-
EMPTY_INDICES
static final int[] EMPTY_INDICES
-
-
Method Detail
-
subSequence
@NotNull static <T extends CharSequence> T subSequence(@NotNull T thizz, int startIndex)
-
subSequence
@NotNull static <T extends CharSequence> T subSequence(@NotNull T thizz, @NotNull @NotNull Range range)
Get a portion of this sequence selected by range- Type Parameters:
T- type of character sequence- Parameters:
thizz- char sequencerange- range to get, coordinates offset form start of this sequence- Returns:
- sequence whose contents reflect the selected portion, if range.isNull() then this is returned
-
subSequenceBefore
@Nullable static <T extends CharSequence> T subSequenceBefore(@NotNull T thizz, @NotNull @NotNull Range range)
Get a portion of this sequence before one selected by range- Type Parameters:
T- type of character sequence- Parameters:
thizz- char sequencerange- range to get, coordinates offset form start of this sequence- Returns:
- sequence whose contents come before the selected range, if range.isNull() then null
-
subSequenceAfter
@Nullable static <T extends CharSequence> T subSequenceAfter(@NotNull T thizz, @NotNull @NotNull Range range)
Get a portion of this sequence after one selected by range- Type Parameters:
T- type of character sequence- Parameters:
thizz- char sequencerange- range to get, coordinates offset form start of this sequence- Returns:
- sequence whose contents come after the selected range, if range.isNull() then null
-
subSequenceBeforeAfter
@NotNull static <T extends CharSequence> @NotNull com.vladsch.flexmark.util.misc.Pair<T,T> subSequenceBeforeAfter(@NotNull T thizz, Range range)
Get a portions of this sequence before and after one selected by range- Type Parameters:
T- type of character sequence- Parameters:
thizz- char sequencerange- range to get, coordinates offset form start of this sequence- Returns:
- sequence whose contents come before and after the selected range, if range.isNull() then pair of nulls
-
containsAny
static boolean containsAny(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate s)
-
containsAny
static boolean containsAny(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate s, int index)
-
containsAnyNot
static boolean containsAnyNot(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate s)
-
containsAnyNot
static boolean containsAnyNot(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate s, int fromIndex)
-
containsAnyNot
static boolean containsAnyNot(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate s, int fromIndex, int endIndex)
-
indexOf
static int indexOf(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull CharSequence s)
-
indexOf
static int indexOf(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull CharSequence s, int fromIndex)
-
indexOf
static int indexOf(@NotNull @NotNull CharSequence thizz, char c)
-
indexOf
static int indexOf(@NotNull @NotNull CharSequence thizz, char c, int fromIndex)
-
indexOfAny
static int indexOfAny(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate s)
-
indexOfAny
static int indexOfAny(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate s, int index)
-
indexOfAnyNot
static int indexOfAnyNot(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate s)
-
indexOfAnyNot
static int indexOfAnyNot(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate s, int fromIndex)
-
indexOfAnyNot
static int indexOfAnyNot(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate s, int fromIndex, int endIndex)
-
indexOfNot
static int indexOfNot(@NotNull @NotNull CharSequence thizz, char c)
-
indexOfNot
static int indexOfNot(@NotNull @NotNull CharSequence thizz, char c, int fromIndex)
-
lastIndexOf
static int lastIndexOf(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull CharSequence s)
-
lastIndexOf
static int lastIndexOf(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull CharSequence s, int fromIndex)
-
lastIndexOf
static int lastIndexOf(@NotNull @NotNull CharSequence thizz, char c)
-
lastIndexOf
static int lastIndexOf(@NotNull @NotNull CharSequence thizz, char c, int fromIndex)
-
lastIndexOfAny
static int lastIndexOfAny(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate s)
-
lastIndexOfAny
static int lastIndexOfAny(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate s, int fromIndex)
-
lastIndexOfAnyNot
static int lastIndexOfAnyNot(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate s)
-
lastIndexOfAnyNot
static int lastIndexOfAnyNot(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate s, int fromIndex)
-
lastIndexOfAnyNot
static int lastIndexOfAnyNot(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate s, int startIndex, int fromIndex)
-
lastIndexOfNot
static int lastIndexOfNot(@NotNull @NotNull CharSequence thizz, char c)
-
lastIndexOfNot
static int lastIndexOfNot(@NotNull @NotNull CharSequence thizz, char c, int fromIndex)
-
indexOf
static int indexOf(@NotNull @NotNull CharSequence thizz, char c, int fromIndex, int endIndex)
-
indexOf
static int indexOf(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull CharSequence s, int fromIndex, int endIndex)
-
lastIndexOf
static int lastIndexOf(@NotNull @NotNull CharSequence thizz, char c, int startIndex, int fromIndex)
-
indexOfNot
static int indexOfNot(@NotNull @NotNull CharSequence thizz, char c, int fromIndex, int endIndex)
-
indexOfAny
static int indexOfAny(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate s, int fromIndex, int endIndex)
-
lastIndexOf
static int lastIndexOf(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull CharSequence s, int startIndex, int fromIndex)
-
lastIndexOfNot
static int lastIndexOfNot(@NotNull @NotNull CharSequence thizz, char c, int startIndex, int fromIndex)
-
lastIndexOfAny
static int lastIndexOfAny(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate s, int startIndex, int fromIndex)
-
equals
@Contract(pure=true, value="_, null -> false") static boolean equals(@NotNull @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- Parameters:
thizz- char sequence to test for equalityo- any character sequence- Returns:
- true if character contents are equal
-
hashCode
@Contract(pure=true) static int hashCode(@NotNull @NotNull CharSequence thizz)
-
compareReversed
static int compareReversed(@Nullable @Nullable CharSequence o1, @Nullable @Nullable CharSequence o2)
-
compare
static int compare(@Nullable @Nullable CharSequence o1, @Nullable @Nullable CharSequence o2)
-
compare
static int compare(@Nullable @Nullable CharSequence o1, @Nullable @Nullable CharSequence o2, boolean ignoreCase)
-
compare
static int compare(@Nullable @Nullable CharSequence o1, @Nullable @Nullable CharSequence o2, boolean ignoreCase, @Nullable @Nullable com.vladsch.flexmark.util.misc.CharPredicate ignoreChars)
-
toStringArray
@NotNull static @NotNull String[] toStringArray(CharSequence... sequences)
-
isVisibleWhitespace
static boolean isVisibleWhitespace(char c)
-
columnsToNextTabStop
static int columnsToNextTabStop(int column)
-
expandTo
@NotNull static @org.jetbrains.annotations.NotNull int[] expandTo(@NotNull @org.jetbrains.annotations.NotNull int[] indices, int length, int step)
-
truncateTo
@NotNull static @org.jetbrains.annotations.NotNull int[] truncateTo(@NotNull @org.jetbrains.annotations.NotNull int[] indices, int length)
-
indexOfAll
@NotNull static @org.jetbrains.annotations.NotNull int[] indexOfAll(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull CharSequence s)
-
matches
static boolean matches(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull CharSequence chars, boolean ignoreCase)
-
matches
static boolean matches(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull CharSequence chars)
-
matchesIgnoreCase
static boolean matchesIgnoreCase(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull CharSequence chars)
-
matchChars
static boolean matchChars(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull CharSequence chars, int startIndex, boolean ignoreCase)
-
matchChars
static boolean matchChars(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull CharSequence chars, int startIndex)
-
matchCharsIgnoreCase
static boolean matchCharsIgnoreCase(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull CharSequence chars, int startIndex)
-
matchChars
static boolean matchChars(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull CharSequence chars, boolean ignoreCase)
-
matchChars
static boolean matchChars(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull CharSequence chars)
-
matchCharsIgnoreCase
static boolean matchCharsIgnoreCase(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull CharSequence chars)
-
matchCharsReversed
static boolean matchCharsReversed(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull CharSequence chars, int endIndex, boolean ignoreCase)
-
matchCharsReversed
static boolean matchCharsReversed(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull CharSequence chars, int endIndex)
-
matchCharsReversedIgnoreCase
static boolean matchCharsReversedIgnoreCase(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull CharSequence chars, int endIndex)
-
matchedCharCount
static int matchedCharCount(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull CharSequence chars, int startIndex, int endIndex, boolean ignoreCase)
-
matchedCharCount
static int matchedCharCount(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull CharSequence chars, int startIndex, boolean ignoreCase)
-
matchedCharCount
static int matchedCharCount(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull CharSequence chars, int startIndex, int endIndex)
-
matchedCharCount
static int matchedCharCount(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull CharSequence chars, int startIndex)
-
matchedCharCountIgnoreCase
static int matchedCharCountIgnoreCase(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull CharSequence chars, int startIndex, int endIndex)
-
matchedCharCountIgnoreCase
static int matchedCharCountIgnoreCase(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull CharSequence chars, int startIndex)
-
matchedCharCountReversed
static int matchedCharCountReversed(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull CharSequence chars, int startIndex, int fromIndex)
-
matchedCharCountReversedIgnoreCase
static int matchedCharCountReversedIgnoreCase(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull CharSequence chars, int startIndex, int fromIndex)
-
matchedCharCountReversed
static int matchedCharCountReversed(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull CharSequence chars, int fromIndex, boolean ignoreCase)
-
matchedCharCountReversed
static int matchedCharCountReversed(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull CharSequence chars, int fromIndex)
-
matchedCharCountReversedIgnoreCase
static int matchedCharCountReversedIgnoreCase(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull CharSequence chars, int fromIndex)
-
matchedCharCount
static int matchedCharCount(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull CharSequence chars, int startIndex, int endIndex, boolean fullMatchOnly, boolean ignoreCase)
-
matchedCharCountReversed
static int matchedCharCountReversed(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull CharSequence chars, int startIndex, int fromIndex, boolean ignoreCase)
-
countOfSpaceTab
static int countOfSpaceTab(@NotNull @NotNull CharSequence thizz)
-
countOfNotSpaceTab
static int countOfNotSpaceTab(@NotNull @NotNull CharSequence thizz)
-
countOfWhitespace
static int countOfWhitespace(@NotNull @NotNull CharSequence thizz)
-
countOfNotWhitespace
static int countOfNotWhitespace(@NotNull @NotNull CharSequence thizz)
-
countOfAny
static int countOfAny(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars, int fromIndex)
-
countOfAny
static int countOfAny(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
-
countOfAnyNot
static int countOfAnyNot(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars, int fromIndex, int endIndex)
-
countOfAnyNot
static int countOfAnyNot(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars, int fromIndex)
-
countOfAnyNot
static int countOfAnyNot(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
-
countOfAny
static int countOfAny(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate s, int fromIndex, int endIndex)
-
countLeadingSpace
static int countLeadingSpace(@NotNull @NotNull CharSequence thizz)
-
countLeadingSpace
static int countLeadingSpace(@NotNull @NotNull CharSequence thizz, int startIndex)
-
countLeadingSpace
static int countLeadingSpace(@NotNull @NotNull CharSequence thizz, int startIndex, int endIndex)
-
countLeadingNotSpace
static int countLeadingNotSpace(@NotNull @NotNull CharSequence thizz)
-
countLeadingNotSpace
static int countLeadingNotSpace(@NotNull @NotNull CharSequence thizz, int startIndex)
-
countLeadingNotSpace
static int countLeadingNotSpace(@NotNull @NotNull CharSequence thizz, int startIndex, int endIndex)
-
countTrailingSpace
static int countTrailingSpace(@NotNull @NotNull CharSequence thizz)
-
countTrailingSpace
static int countTrailingSpace(@NotNull @NotNull CharSequence thizz, int fromIndex)
-
countTrailingSpace
static int countTrailingSpace(@NotNull @NotNull CharSequence thizz, int startIndex, int fromIndex)
-
countTrailingNotSpace
static int countTrailingNotSpace(@NotNull @NotNull CharSequence thizz)
-
countTrailingNotSpace
static int countTrailingNotSpace(@NotNull @NotNull CharSequence thizz, int fromIndex)
-
countTrailingNotSpace
static int countTrailingNotSpace(@NotNull @NotNull CharSequence thizz, int startIndex, int fromIndex)
-
countLeadingSpaceTab
static int countLeadingSpaceTab(@NotNull @NotNull CharSequence thizz)
-
countLeadingSpaceTab
static int countLeadingSpaceTab(@NotNull @NotNull CharSequence thizz, int startIndex)
-
countLeadingSpaceTab
static int countLeadingSpaceTab(@NotNull @NotNull CharSequence thizz, int startIndex, int endIndex)
-
countLeadingNotSpaceTab
static int countLeadingNotSpaceTab(@NotNull @NotNull CharSequence thizz)
-
countLeadingNotSpaceTab
static int countLeadingNotSpaceTab(@NotNull @NotNull CharSequence thizz, int startIndex)
-
countLeadingNotSpaceTab
static int countLeadingNotSpaceTab(@NotNull @NotNull CharSequence thizz, int startIndex, int endIndex)
-
countTrailingSpaceTab
static int countTrailingSpaceTab(@NotNull @NotNull CharSequence thizz)
-
countTrailingSpaceTab
static int countTrailingSpaceTab(@NotNull @NotNull CharSequence thizz, int fromIndex)
-
countTrailingSpaceTab
static int countTrailingSpaceTab(@NotNull @NotNull CharSequence thizz, int startIndex, int fromIndex)
-
countTrailingNotSpaceTab
static int countTrailingNotSpaceTab(@NotNull @NotNull CharSequence thizz)
-
countTrailingNotSpaceTab
static int countTrailingNotSpaceTab(@NotNull @NotNull CharSequence thizz, int fromIndex)
-
countTrailingNotSpaceTab
static int countTrailingNotSpaceTab(@NotNull @NotNull CharSequence thizz, int startIndex, int fromIndex)
-
countLeadingWhitespace
static int countLeadingWhitespace(@NotNull @NotNull CharSequence thizz)
-
countLeadingWhitespace
static int countLeadingWhitespace(@NotNull @NotNull CharSequence thizz, int startIndex)
-
countLeadingWhitespace
static int countLeadingWhitespace(@NotNull @NotNull CharSequence thizz, int startIndex, int endIndex)
-
countLeadingNotWhitespace
static int countLeadingNotWhitespace(@NotNull @NotNull CharSequence thizz)
-
countLeadingNotWhitespace
static int countLeadingNotWhitespace(@NotNull @NotNull CharSequence thizz, int startIndex)
-
countLeadingNotWhitespace
static int countLeadingNotWhitespace(@NotNull @NotNull CharSequence thizz, int startIndex, int endIndex)
-
countTrailingWhitespace
static int countTrailingWhitespace(@NotNull @NotNull CharSequence thizz)
-
countTrailingWhitespace
static int countTrailingWhitespace(@NotNull @NotNull CharSequence thizz, int fromIndex)
-
countTrailingWhitespace
static int countTrailingWhitespace(@NotNull @NotNull CharSequence thizz, int startIndex, int fromIndex)
-
countTrailingNotWhitespace
static int countTrailingNotWhitespace(@NotNull @NotNull CharSequence thizz)
-
countTrailingNotWhitespace
static int countTrailingNotWhitespace(@NotNull @NotNull CharSequence thizz, int fromIndex)
-
countTrailingNotWhitespace
static int countTrailingNotWhitespace(@NotNull @NotNull CharSequence thizz, int startIndex, int fromIndex)
-
countLeading
static int countLeading(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
-
countLeading
static int countLeading(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars, int fromIndex)
-
countLeadingNot
static int countLeadingNot(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
-
countLeadingNot
static int countLeadingNot(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars, int fromIndex)
-
countTrailing
static int countTrailing(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
-
countTrailing
static int countTrailing(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars, int fromIndex)
-
countTrailingNot
static int countTrailingNot(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
-
countTrailingNot
static int countTrailingNot(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars, int fromIndex)
-
countLeadingNot
static int countLeadingNot(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars, int startIndex, int endIndex)
-
countTrailingNot
static int countTrailingNot(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars, int startIndex, int endIndex)
-
countLeading
static int countLeading(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars, int fromIndex, int endIndex)
-
countLeadingColumns
static int countLeadingColumns(@NotNull @NotNull CharSequence thizz, int startColumn, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
-
countTrailing
static int countTrailing(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars, int startIndex, int fromIndex)
-
trimStart
@NotNull static <T extends CharSequence> T trimStart(@NotNull T thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
-
trimmedStart
@Nullable static <T extends CharSequence> T trimmedStart(@NotNull T thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
-
trimEnd
@NotNull static <T extends CharSequence> T trimEnd(@NotNull T thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
-
trimmedEnd
@Nullable static <T extends CharSequence> T trimmedEnd(@NotNull T thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
-
trim
@NotNull static <T extends CharSequence> T trim(@NotNull T thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
-
trimmed
@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)
-
trimStart
@NotNull static <T extends CharSequence> T trimStart(@NotNull T thizz, int keep)
-
trimmedStart
@Nullable static <T extends CharSequence> T trimmedStart(@NotNull T thizz, int keep)
-
trimEnd
@NotNull static <T extends CharSequence> T trimEnd(@NotNull T thizz, int keep)
-
trimmedEnd
@Nullable static <T extends CharSequence> T trimmedEnd(@NotNull T thizz, int keep)
-
trim
@NotNull static <T extends CharSequence> T trim(@NotNull T thizz, int keep)
-
trimmed
@NotNull static <T extends CharSequence> @NotNull com.vladsch.flexmark.util.misc.Pair<T,T> trimmed(@NotNull T thizz, int keep)
-
trimStart
@NotNull static <T extends CharSequence> T trimStart(@NotNull T thizz)
-
trimmedStart
@Nullable static <T extends CharSequence> T trimmedStart(@NotNull T thizz)
-
trimEnd
@NotNull static <T extends CharSequence> T trimEnd(@NotNull T thizz)
-
trimmedEnd
@Nullable static <T extends CharSequence> T trimmedEnd(@NotNull T thizz)
-
trim
@NotNull static <T extends CharSequence> T trim(@NotNull T thizz)
-
trimmed
@NotNull static <T extends CharSequence> @NotNull com.vladsch.flexmark.util.misc.Pair<T,T> trimmed(@NotNull T thizz)
-
trimStart
@NotNull static <T extends CharSequence> T trimStart(@NotNull T thizz, int keep, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
-
trimmedStart
@Nullable static <T extends CharSequence> T trimmedStart(@NotNull T thizz, int keep, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
-
trimEnd
@NotNull static <T extends CharSequence> T trimEnd(@NotNull T thizz, int keep, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
-
trimmedEnd
@Nullable static <T extends CharSequence> T trimmedEnd(@NotNull T thizz, int keep, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
-
trim
@NotNull static <T extends CharSequence> T trim(@NotNull T thizz, int keep, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
-
trimmed
@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)
-
trimStartRange
static Range trimStartRange(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
-
trimEndRange
static Range trimEndRange(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
-
trimRange
static Range trimRange(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
-
trimStartRange
static Range trimStartRange(@NotNull @NotNull CharSequence thizz, int keep)
-
trimEndRange
static Range trimEndRange(@NotNull @NotNull CharSequence thizz, int keep)
-
trimRange
static Range trimRange(@NotNull @NotNull CharSequence thizz, int keep)
-
trimStartRange
static Range trimStartRange(@NotNull @NotNull CharSequence thizz)
-
trimEndRange
static Range trimEndRange(@NotNull @NotNull CharSequence thizz)
-
trimRange
static Range trimRange(@NotNull @NotNull CharSequence thizz)
-
trimStartRange
@NotNull static @NotNull Range trimStartRange(@NotNull @NotNull CharSequence thizz, int keep, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
-
trimEndRange
@NotNull static @NotNull Range trimEndRange(@NotNull @NotNull CharSequence thizz, int keep, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
-
trimRange
@NotNull static @NotNull Range trimRange(@NotNull @NotNull CharSequence thizz, int keep, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
-
padStart
@NotNull static @NotNull String padStart(@NotNull @NotNull CharSequence thizz, int length, char pad)
-
padEnd
@NotNull static @NotNull String padEnd(@NotNull @NotNull CharSequence thizz, int length, char pad)
-
padStart
@NotNull static @NotNull String padStart(@NotNull @NotNull CharSequence thizz, int length)
-
padEnd
@NotNull static @NotNull String padEnd(@NotNull @NotNull CharSequence thizz, int length)
-
toVisibleWhitespaceString
@NotNull static @NotNull String toVisibleWhitespaceString(@NotNull @NotNull CharSequence thizz)
-
lastChar
static char lastChar(@NotNull @NotNull CharSequence thizz)
-
firstChar
static char firstChar(@NotNull @NotNull CharSequence thizz)
-
safeCharAt
static char safeCharAt(@NotNull @NotNull CharSequence thizz, int index)
-
eolEndLength
static int eolEndLength(@NotNull @NotNull CharSequence thizz)
-
eolEndLength
static int eolEndLength(@NotNull @NotNull CharSequence thizz, int eolEnd)
-
eolStartLength
static int eolStartLength(@NotNull @NotNull CharSequence thizz, int eolStart)
-
endOfLine
static int endOfLine(@NotNull @NotNull CharSequence thizz, int index)
-
endOfLineAnyEOL
static int endOfLineAnyEOL(@NotNull @NotNull CharSequence thizz, int index)
-
startOfLine
static int startOfLine(@NotNull @NotNull CharSequence thizz, int index)
-
startOfLineAnyEOL
static int startOfLineAnyEOL(@NotNull @NotNull CharSequence thizz, int index)
-
startOfDelimitedByAnyNot
static int startOfDelimitedByAnyNot(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate s, int index)
-
endOfDelimitedByAnyNot
static int endOfDelimitedByAnyNot(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate s, int index)
-
startOfDelimitedBy
static int startOfDelimitedBy(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull CharSequence s, int index)
-
startOfDelimitedByAny
static int startOfDelimitedByAny(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate s, int index)
-
endOfDelimitedBy
static int endOfDelimitedBy(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull CharSequence s, int index)
-
endOfDelimitedByAny
static int endOfDelimitedByAny(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate s, int index)
-
lineRangeAt
@NotNull static @NotNull Range lineRangeAt(@NotNull @NotNull CharSequence thizz, int index)
-
lineRangeAtAnyEOL
@NotNull static @NotNull Range lineRangeAtAnyEOL(@NotNull @NotNull CharSequence thizz, int index)
-
eolEndRange
@NotNull static @NotNull Range eolEndRange(@NotNull @NotNull CharSequence thizz, int eolEnd)
-
eolStartRange
@NotNull static @NotNull Range eolStartRange(@NotNull @NotNull CharSequence thizz, int eolStart)
-
trimEOL
@NotNull static <T extends CharSequence> T trimEOL(@NotNull T thizz)
-
trimmedEOL
@Nullable static <T extends CharSequence> T trimmedEOL(@NotNull T thizz)
-
trimTailBlankLines
@Nullable static <T extends CharSequence> T trimTailBlankLines(@NotNull T thizz)
-
trimLeadBlankLines
@Nullable static <T extends CharSequence> T trimLeadBlankLines(@NotNull T thizz)
-
leadingBlankLinesRange
@NotNull static @NotNull Range leadingBlankLinesRange(@NotNull @NotNull CharSequence thizz)
-
leadingBlankLinesRange
@NotNull static @NotNull Range leadingBlankLinesRange(@NotNull @NotNull CharSequence thizz, int startIndex)
-
leadingBlankLinesRange
@NotNull static @NotNull Range leadingBlankLinesRange(@NotNull @NotNull CharSequence thizz, int fromIndex, int endIndex)
-
trailingBlankLinesRange
@NotNull static @NotNull Range trailingBlankLinesRange(@NotNull @NotNull CharSequence thizz)
-
trailingBlankLinesRange
@NotNull static @NotNull Range trailingBlankLinesRange(@NotNull @NotNull CharSequence thizz, int fromIndex)
-
trailingBlankLinesRange
@NotNull static @NotNull Range trailingBlankLinesRange(@NotNull @NotNull CharSequence thizz, int startIndex, int fromIndex)
-
trailingBlankLinesRange
@NotNull static @NotNull Range trailingBlankLinesRange(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate eolChars, int startIndex, int fromIndex)
-
leadingBlankLinesRange
@NotNull static @NotNull Range leadingBlankLinesRange(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate eolChars, int fromIndex, int endIndex)
-
blankLinesRemovedRanges
@NotNull static @NotNull List<Range> blankLinesRemovedRanges(@NotNull @NotNull CharSequence thizz)
-
blankLinesRemovedRanges
@NotNull static @NotNull List<Range> blankLinesRemovedRanges(@NotNull @NotNull CharSequence thizz, int fromIndex)
-
blankLinesRemovedRanges
@NotNull static @NotNull List<Range> blankLinesRemovedRanges(@NotNull @NotNull CharSequence thizz, int fromIndex, int endIndex)
-
blankLinesRemovedRanges
@NotNull static @NotNull List<Range> blankLinesRemovedRanges(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate eolChars, int fromIndex, int endIndex)
-
isEmpty
static boolean isEmpty(@NotNull @NotNull CharSequence thizz)
-
isBlank
static boolean isBlank(@NotNull @NotNull CharSequence thizz)
-
isNotEmpty
static boolean isNotEmpty(@NotNull @NotNull CharSequence thizz)
-
isNotBlank
static boolean isNotBlank(@NotNull @NotNull CharSequence thizz)
-
endsWith
static boolean endsWith(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull CharSequence suffix)
-
endsWith
static boolean endsWith(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull CharSequence suffix, boolean ignoreCase)
-
startsWith
static boolean startsWith(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull CharSequence prefix)
-
startsWith
static boolean startsWith(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull CharSequence prefix, boolean ignoreCase)
-
endsWith
static boolean endsWith(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
-
startsWith
static boolean startsWith(@NotNull @NotNull CharSequence thizz, @NotNull @NotNull com.vladsch.flexmark.util.misc.CharPredicate chars)
-
endsWithEOL
static boolean endsWithEOL(@NotNull @NotNull CharSequence thizz)
-
endsWithAnyEOL
static boolean endsWithAnyEOL(@NotNull @NotNull CharSequence thizz)
-
endsWithSpace
static boolean endsWithSpace(@NotNull @NotNull CharSequence thizz)
-
endsWithSpaceTab
static boolean endsWithSpaceTab(@NotNull @NotNull CharSequence thizz)
-
endsWithWhitespace
static boolean endsWithWhitespace(@NotNull @NotNull CharSequence thizz)
-
startsWithEOL
static boolean startsWithEOL(@NotNull @NotNull CharSequence thizz)
-
startsWithAnyEOL
static boolean startsWithAnyEOL(@NotNull @NotNull CharSequence thizz)
-
startsWithSpace
static boolean startsWithSpace(@NotNull @NotNull CharSequence thizz)
-
startsWithSpaceTab
static boolean startsWithSpaceTab(@NotNull @NotNull CharSequence thizz)
-
startsWithWhitespace
static boolean startsWithWhitespace(@NotNull @NotNull CharSequence thizz)
-
splitList
@NotNull static <T extends CharSequence> @NotNull List<T> splitList(@NotNull T thizz, @NotNull @NotNull CharSequence delimiter)
-
splitList
@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)
-
splitList
@NotNull static <T extends CharSequence> @NotNull List<T> splitList(@NotNull T thizz, @NotNull @NotNull CharSequence delimiter, int limit, int flags)
-
splitList
@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)
-
splitListEOL
@NotNull static <T extends CharSequence> @NotNull List<T> splitListEOL(@NotNull T thizz)
-
splitListEOL
@NotNull static <T extends CharSequence> @NotNull List<T> splitListEOL(@NotNull T thizz, boolean includeDelims)
-
splitListEOL
@NotNull static <T extends CharSequence> @NotNull List<T> splitListEOL(@NotNull T thizz, boolean includeDelims, @Nullable @Nullable com.vladsch.flexmark.util.misc.CharPredicate trimChars)
-
splitEOL
@NotNull static <T extends CharSequence> @NotNull T[] splitEOL(@NotNull T thizz, T[] emptyArray)
-
splitEOL
@NotNull static <T extends CharSequence> @NotNull T[] splitEOL(@NotNull T thizz, T[] emptyArray, boolean includeDelims)
-
split
@NotNull static <T extends CharSequence> @NotNull T[] split(@NotNull T thizz, T[] emptyArray, @NotNull @NotNull CharSequence delimiter, boolean includeDelims, @Nullable @Nullable com.vladsch.flexmark.util.misc.CharPredicate trimChars)
-
split
@NotNull static <T extends CharSequence> @NotNull T[] split(@NotNull T thizz, T[] emptyArray, @NotNull @NotNull CharSequence delimiter)
-
split
@NotNull static <T extends CharSequence> @NotNull T[] split(@NotNull T thizz, T[] emptyArray, @NotNull @NotNull CharSequence delimiter, int limit, boolean includeDelims, @Nullable @Nullable com.vladsch.flexmark.util.misc.CharPredicate trimChars)
-
split
@NotNull static <T extends CharSequence> @NotNull T[] split(@NotNull T thizz, T[] emptyArray, @NotNull @NotNull CharSequence delimiter, int limit, int flags)
-
split
@NotNull static <T extends CharSequence> @NotNull T[] split(@NotNull T thizz, T[] emptyArray, @NotNull @NotNull CharSequence delimiter, int limit, int flags, @Nullable @Nullable com.vladsch.flexmark.util.misc.CharPredicate trimChars)
-
splitList
@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)
-
columnAtIndex
static int columnAtIndex(@NotNull @NotNull CharSequence thizz, int index)
-
lineColumnAtIndex
@NotNull static @NotNull com.vladsch.flexmark.util.misc.Pair<Integer,Integer> lineColumnAtIndex(@NotNull @NotNull CharSequence thizz, int index)
-
validateIndex
static void validateIndex(int index, int length)
-
validateIndexInclusiveEnd
static void validateIndexInclusiveEnd(int index, int length)
-
validateStartEnd
static void validateStartEnd(int startIndex, int endIndex, int length)
-
parseUnsignedIntOrDefault
static int parseUnsignedIntOrDefault(String text, int defaultValue)
-
parseUnsignedIntOrDefault
static int parseUnsignedIntOrDefault(String text, int defaultValue, int radix)
-
parseIntOrDefault
static int parseIntOrDefault(String text, int defaultValue)
-
parseIntOrDefault
static int parseIntOrDefault(String text, int defaultValue, int radix)
-
parseNumberOrNull
@Nullable static @Nullable Number parseNumberOrNull(@Nullable @Nullable String text)
Parse number from textWill parse 0x, 0b, octal if starts with 0, decimal
- Parameters:
text- text containing the number to parse- Returns:
- null or parsed number
-
parseNumberPrefixOrNull
@Nullable static @Nullable com.vladsch.flexmark.util.misc.Pair<Number,String> parseNumberPrefixOrNull(@Nullable @Nullable String text, @Nullable @Nullable Predicate<String> suffixTester)
Parse number from textWill parse 0x, 0b, octal if starts with 0, decimal
- Parameters:
text- text containing the number to parsesuffixTester- predicate to test number suffix, if null or predicate returns true then sequence will be accepted as valid- Returns:
- null or parsed number with unparsed suffix
-
containedBy
static <T extends CharSequence> boolean containedBy(@NotNull @NotNull T[] items, @NotNull @NotNull CharSequence element)
-
containedBy
static boolean containedBy(@NotNull @NotNull Collection<? extends CharSequence> items, @NotNull @NotNull CharSequence element)
-
-