public class Utils extends Object
Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
static String |
firstChars(String string,
int numberOfChars) |
static String |
generateUUIDFrom(String input) |
static <T> T |
getOrDefault(T value,
T defaultValue) |
static boolean |
isCollectionEmpty(Collection<?> collection) |
static boolean |
isNullOrBlank(String string) |
static String |
quoted(String string) |
static String |
randomUUID() |
static String |
repeat(String string,
int times) |
public static <T> T getOrDefault(T value, T defaultValue)
public static boolean isNullOrBlank(String string)
public static boolean isCollectionEmpty(Collection<?> collection)
public static String randomUUID()
Copyright © 2023. All rights reserved.