程序包 com.easemob.im
类 StringUtil
java.lang.Object
com.easemob.im.StringUtil
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-01-25T14:51:53.998371+08:00[Asia/Shanghai]")
public class StringUtil
extends Object
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static booleancontainsIgnoreCase(String[] array, String value) Check if the given array contains the given value (with case-insensitive comparison).static StringJoin an array of strings with the given separator.static Stringjoin(Collection<String> list, String separator) Join a list of strings with the given separator.
-
构造器详细资料
-
StringUtil
public StringUtil()
-
-
方法详细资料
-
containsIgnoreCase
Check if the given array contains the given value (with case-insensitive comparison).- 参数:
array- The arrayvalue- The value to search- 返回:
- true if the array contains the value
-
join
Join an array of strings with the given separator.Note: This might be replaced by utility method from commons-lang or guava someday if one of those libraries is added as dependency.
- 参数:
array- The array of stringsseparator- The separator- 返回:
- the resulting string
-
join
Join a list of strings with the given separator.- 参数:
list- The list of stringsseparator- The separator- 返回:
- the resulting string
-