public class StringExtensions extends Object
| Constructor and Description |
|---|
StringExtensions() |
| Modifier and Type | Method and Description |
|---|---|
static char |
getAt(String str,
int index)
this should be inlined by the HL compiler...
|
static String |
getAt(String array,
IntRange range) |
static boolean |
isBlank(CharSequence string) |
static boolean |
isEmpty(CharSequence string) |
static String |
mul(CharSequence str,
int count) |
static String |
setAt(String str,
int[] indices,
char[] other) |
static String |
setAt(String str,
int[] indices,
CharSequence other) |
static String |
setAt(String str,
int index,
char c) |
static String |
setAt(String str,
IntPredicate predicate,
char[] other) |
static String |
setAt(String str,
IntPredicate predicate,
CharSequence other) |
static String |
setAt(String array,
IntRange range,
char[] other) |
static String |
setAt(String array,
IntRange range,
CharSequence other) |
static int |
upperBound(CharSequence s) |
public static String setAt(String array, IntRange range, CharSequence other)
public static int upperBound(CharSequence s)
public static String setAt(String str, IntPredicate predicate, CharSequence other)
public static String setAt(String str, int[] indices, CharSequence other)
public static char getAt(String str, int index)
str - strindex - indexpublic static String setAt(String str, IntPredicate predicate, char[] other)
public static String mul(CharSequence str, int count)
public static boolean isBlank(CharSequence string)
public static boolean isEmpty(CharSequence string)
Copyright © 2021 vpc open source initiative. All rights reserved.