public class CustomStringUtils extends Object
Constructor and Description |
---|
CustomStringUtils()
CustomStringUtils instances should NOT be constructed in
standard programming. |
Modifier and Type | Method and Description |
---|---|
static boolean |
containsCaseInsensitive(String s,
List<String> l)
Returns true if this list contains the specified string element, ignoring case considerations.
|
static void |
toLowerCase(List<String> l)
Make list of string lowercase
|
static void |
toUpperCase(List<String> l)
Make list of string lowercase
|
public CustomStringUtils()
CustomStringUtils
instances should NOT be constructed in
standard programming. Instead, the class should be used as
CustomStringUtils.containsCaseInsensitive("foo", arrayList)
public static boolean containsCaseInsensitive(String s, List<String> l)
s
- element whose presence in this list is to be testedl
- list of strings, where presence of string element would be checkedpublic static void toLowerCase(List<String> l)
l
- list of strings, which need to be in lowercaseCopyright © 2022 Apache Software Foundation. All rights reserved.