| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static int | |
| public static <T extends Comparable | |
| public static int | |
| public static int | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static @NotNull String | |
| public static void | |
| public static String | |
| public static String | Returns: longest common prefixarray of strings or null s)Longest Common Prefix for a set of strings |
| public static <T> T | |
| public static <T, S extends T> S | |
| public static String | |
| public static String | |
| public static String | |
| public static String | |
| public static String | |
| public static String | |
| public static <T> T | |
| public static <T> T | |
| public static <T> T | |
| public static String | |
| public static String | |
| public static <T> T | |
| public static <T> T | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static String | |
| public static String | |
| public static int | |
| public static float | |
| public static int | |
| public static float | |
| public static int | |
| public static float | |
| public static int | |
| public static float | |
| public static String | |
| public static String | |
| public static String | |
| public static String | |
| public static String | |
| public static <K, V> V | |
| public static @NotNull String | |
| public static int | |
| public static float | |
| public static String | |
| public static boolean | regionMatches(CharSequence receiver, int thisOffset, String other, int otherOffset, int length, boolean ignoreCase)
|
| public static String | |
| public static String | |
| public static <K, V> void | |
| public static <K, V> void | |
| public static String | |
| public static String | |
| public static String | |
| public static String | |
| public static String | |
| public static String | |
| public static <T> T | |
| public static String | |
| public static String | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static void | |
| public static <T> List | |
| public static String | |
| public static String | |
| public static String | |
| public static String | |
| public static String | |
| public static String | |
| public static String | |
| public static <K, V> Map | |
| public static String | |
| public static String | |
| public static String | |
| public static String |
| Utils | back to summary |
|---|---|
| public Utils() | |
| compare | back to summary |
|---|---|
| public static int compare(@Nullable Number n1, @Nullable Number n2) | |
| compareNullable | back to summary |
|---|---|
| public static <T extends Comparable | |
| count | back to summary |
|---|---|
| public static int count(String receiver, char c, int startIndex, int endIndex) | |
| count | back to summary |
|---|---|
| public static int count(String receiver, String c, int startIndex, int endIndex) | |
| endsWith | back to summary |
|---|---|
| public static boolean endsWith(String receiver, String... needles) | |
| endsWith | back to summary |
|---|---|
| public static boolean endsWith(String receiver, boolean ignoreCase, String... needles) | |
| endsWith | back to summary |
|---|---|
| public static boolean endsWith(CharSequence receiver, String suffix, boolean ignoreCase) | |
| escapeJavaString | back to summary |
|---|---|
public static @NotNull String escapeJavaString(@Nullable CharSequence param)
| |
| escapeJavaString | back to summary |
|---|---|
| public static void escapeJavaString(@NotNull StringBuilder out, @NotNull CharSequence chars) | |
| getAbbreviatedText | back to summary |
|---|---|
| public static String getAbbreviatedText(String text, int maxLength) | |
| getLongestCommonPrefix | back to summary |
|---|---|
| public static String getLongestCommonPrefix(String... s) Longest Common Prefix for a set of strings | |
| getOrNull | back to summary |
|---|---|
| public static <T> T getOrNull(@NotNull List<T> list, int index) | |
| getOrNull | back to summary |
|---|---|
| public static <T, S extends T> S getOrNull(@NotNull List<T> list, int index, Class<S> elementClass) | |
| getResourceAsString | back to summary |
|---|---|
| public static String getResourceAsString(Class<?> clazz, String resourcePath) | |
| ifEmpty | back to summary |
|---|---|
| public static String ifEmpty(String receiver, String arg) | |
| ifEmpty | back to summary |
|---|---|
| public static String ifEmpty(String receiver, String ifEmptyArg, String ifNotEmptyArg) | |
| ifEmpty | back to summary |
|---|---|
| public static String ifEmpty(String receiver, Supplier<String> arg) | |
| ifEmpty | back to summary |
|---|---|
| public static String ifEmpty(String receiver, Supplier<String> ifEmptyArg, Supplier<String> ifNotEmptyArg) | |
| ifEmptyNullArgs | back to summary |
|---|---|
| public static String ifEmptyNullArgs(String receiver, String ifEmptyArg, String ifNotEmptyArg) | |
| ifNull | back to summary |
|---|---|
| public static <T> T ifNull(T receiver, T altValue) | |
| ifNullOr | back to summary |
|---|---|
| public static <T> T ifNullOr(T receiver, boolean condition, T altValue) | |
| ifNullOr | back to summary |
|---|---|
| public static <T> T ifNullOr(T receiver, Function<T, Boolean> condition, T altValue) | |
| ifNullOrBlank | back to summary |
|---|---|
| public static String ifNullOrBlank(String receiver, String altValue) | |
| ifNullOrEmpty | back to summary |
|---|---|
| public static String ifNullOrEmpty(String receiver, String altValue) | |
| ifNullOrNot | back to summary |
|---|---|
| public static <T> T ifNullOrNot(T receiver, boolean condition, T altValue) | |
| ifNullOrNot | back to summary |
|---|---|
| public static <T> T ifNullOrNot(T receiver, Function<T, Boolean> condition, T altValue) | |
| isBlank | back to summary |
|---|---|
| public static boolean isBlank(String receiver) | |
| isIn | back to summary |
|---|---|
| public static boolean isIn(String receiver, String... list) | |
| isWhiteSpaceNoEOL | back to summary |
|---|---|
| public static boolean isWhiteSpaceNoEOL(String receiver) | |
| join | back to summary |
|---|---|
| public static String join(String[] items, String prefix, String suffix, String itemPrefix, String itemSuffix) | |
| join | back to summary |
|---|---|
| public static String join(Collection<String> items, String prefix, String suffix, String itemPrefix, String itemSuffix) | |
| max | back to summary |
|---|---|
| public static int max(int receiver, int... others) | |
| max | back to summary |
|---|---|
| public static float max(float receiver, float... others) | |
| maxLimit | back to summary |
|---|---|
| public static int maxLimit(int receiver, int... maxBound) | |
| maxLimit | back to summary |
|---|---|
| public static float maxLimit(float receiver, float... maxBound) | |
| min | back to summary |
|---|---|
| public static int min(int receiver, int... others) | |
| min | back to summary |
|---|---|
| public static float min(float receiver, float... others) | |
| minLimit | back to summary |
|---|---|
| public static int minLimit(int receiver, int... minBound) | |
| minLimit | back to summary |
|---|---|
| public static float minLimit(float receiver, float... minBound) | |
| orEmpty | back to summary |
|---|---|
| public static String orEmpty(String receiver) | |
| prefixWith | back to summary |
|---|---|
| public static String prefixWith(String receiver, char prefix) | |
| prefixWith | back to summary |
|---|---|
| public static String prefixWith(String receiver, char prefix, boolean ignoreCase) | |
| prefixWith | back to summary |
|---|---|
| public static String prefixWith(String receiver, String prefix) | |
| prefixWith | back to summary |
|---|---|
| public static String prefixWith(String receiver, String prefix, boolean ignoreCase) | |
| putIfMissing | back to summary |
|---|---|
| public static <K, V> V putIfMissing(Map<K, V> receiver, K key, Supplier<V> value) | |
| quoteJavaString | back to summary |
|---|---|
public static @NotNull String quoteJavaString(@Nullable CharSequence param)
| |
| rangeLimit | back to summary |
|---|---|
| public static int rangeLimit(int receiver, int minBound, int maxBound) | |
| rangeLimit | back to summary |
|---|---|
| public static float rangeLimit(float receiver, float minBound, float maxBound) | |
| regexGroup | back to summary |
|---|---|
| public static String regexGroup(String receiver) | |
| regionMatches | back to summary |
|---|---|
| public static boolean regionMatches(CharSequence receiver, int thisOffset, String other, int otherOffset, int length, boolean ignoreCase) | |
| removeAnyPrefix | back to summary |
|---|---|
| public static String removeAnyPrefix(String receiver, String... prefixes) | |
| removeAnySuffix | back to summary |
|---|---|
| public static String removeAnySuffix(String receiver, String... suffixes) | |
| removeIf | back to summary |
|---|---|
| public static <K, V> void removeIf(Map<K, V> receiver, Function<Map. | |
| removeIf | back to summary |
|---|---|
| public static <K, V> void removeIf(Map<K, V> receiver, BiFunction<K, V, Boolean> removeFilter) | |
| removePrefix | back to summary |
|---|---|
| public static String removePrefix(String receiver, char prefix) | |
| removePrefix | back to summary |
|---|---|
| public static String removePrefix(String receiver, String prefix) | |
| removePrefixIncluding | back to summary |
|---|---|
| public static String removePrefixIncluding(String receiver, String delimiter) | |
| removeSuffix | back to summary |
|---|---|
| public static String removeSuffix(String receiver, char suffix) | |
| removeSuffix | back to summary |
|---|---|
| public static String removeSuffix(String receiver, String suffix) | |
| repeat | back to summary |
|---|---|
| public static String repeat(String text, int repeatCount) | |
| setOrAdd | back to summary |
|---|---|
| public static <T> T setOrAdd(@NotNull List<T> list, int index, T value) | |
| splice | back to summary |
|---|---|
| public static String splice(String[] receiver, String delimiter) | |
| splice | back to summary |
|---|---|
| public static String splice(Collection<String> receiver, String delimiter, boolean skipNullOrEmpty) | |
| startsWith | back to summary |
|---|---|
| public static boolean startsWith(String receiver, String... needles) | |
| startsWith | back to summary |
|---|---|
| public static boolean startsWith(String receiver, boolean ignoreCase, String... needles) | |
| startsWith | back to summary |
|---|---|
| public static boolean startsWith(CharSequence receiver, String prefix, boolean ignoreCase) | |
| streamAppend | back to summary |
|---|---|
| public static void streamAppend(StringBuilder sb, InputStream inputStream) | |
| stringSorted | back to summary |
|---|---|
| public static <T> List | |
| suffixWith | back to summary |
|---|---|
| public static String suffixWith(String receiver, char suffix) | |
| suffixWith | back to summary |
|---|---|
| public static String suffixWith(String receiver, char suffix, boolean ignoreCase) | |
| suffixWith | back to summary |
|---|---|
| public static String suffixWith(String receiver, String suffix) | |
| suffixWith | back to summary |
|---|---|
| public static String suffixWith(String receiver, String suffix, boolean ignoreCase) | |
| suffixWithEol | back to summary |
|---|---|
| public static String suffixWithEol(String receiver) | |
| urlDecode | back to summary |
|---|---|
| public static String urlDecode(String receiver, String charSet) | |
| urlEncode | back to summary |
|---|---|
| public static String urlEncode(String receiver, String charSet) | |
| withDefaults | back to summary |
|---|---|
| public static <K, V> Map | |
| wrapWith | back to summary |
|---|---|
| public static String wrapWith(String receiver, char prefixSuffix) | |
| wrapWith | back to summary |
|---|---|
| public static String wrapWith(String receiver, char prefix, char suffix) | |
| wrapWith | back to summary |
|---|---|
| public static String wrapWith(String receiver, String prefixSuffix) | |
| wrapWith | back to summary |
|---|---|
| public static String wrapWith(String receiver, String prefix, String suffix) | |