Package io.kubernetes.client.openapi
Class StringUtil
java.lang.Object
io.kubernetes.client.openapi.StringUtil
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-18T15:05:57.863601Z[Etc/UTC]")
public class StringUtil
extends Object
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
StringUtil
public StringUtil()
-
-
Method Details
-
containsIgnoreCase
Check if the given array contains the given value (with case-insensitive comparison).- Parameters:
array
- The arrayvalue
- The value to search- Returns:
- 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.
- Parameters:
array
- The array of stringsseparator
- The separator- Returns:
- the resulting string
-