程序包 com.volcengine

类 StringUtil


  • @Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen",
               date="2022-03-17T19:20:18.609954+08:00[Asia/Shanghai]")
    public class StringUtil
    extends Object
    • 构造器详细资料

      • StringUtil

        public StringUtil()
    • 方法详细资料

      • containsIgnoreCase

        public static boolean containsIgnoreCase​(String[] array,
                                                 String value)
        Check if the given array contains the given value (with case-insensitive comparison).
        参数:
        array - The array
        value - The value to search
        返回:
        true if the array contains the value
      • join

        public static String join​(String[] array,
                                  String separator)
        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 strings
        separator - The separator
        返回:
        the resulting string