public final class ObjectUtils extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
isNull(Object target) |
static boolean |
nonNull(Object target) |
static <T> T |
requireNonNull(T obj) |
static <T> T |
requireNonNull(T obj,
String message) |
static Map<String,String> |
systemProps() |
static <T> T |
useNonNull(T target,
T fallback) |
public static <T> T useNonNull(T target, T fallback)
public static boolean isNull(Object target)
public static boolean nonNull(Object target)
public static <T> T requireNonNull(T obj, String message)
public static <T> T requireNonNull(T obj)
Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.