public final class LoggerUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> String |
listToString(List<T> list)
Creating an appended log-string of a list with generic type T.
|
static <K,V> String |
mapToString(Map<K,V> map)
Creating an appended log-string of a map with generic types K/V.
|
static <T> String |
setToString(Set<T> set) |
public static <T> String listToString(List<T> list)
T - the type of the objects in the input listlist - the input list to be stringifiedpublic static <K,V> String mapToString(Map<K,V> map)
K - the type of the keys in the mapV - the type of the values in the mapmap - the map to be stringifiedCopyright © 2019. All rights reserved.