public final class Objects extends Object
Constructor and Description |
---|
Objects() |
Modifier and Type | Method and Description |
---|---|
static int |
compare(Object a,
Object b)
A helper method for performing an ordered comparison on the objects
handling nulls and objects which do not handle sorting gracefully
|
static boolean |
contains(String matchesText,
String... values) |
static boolean |
equal(Object a,
Object b)
A helper method for comparing objects for equality while handling nulls
|
static boolean |
isBlank(String text) |
public static boolean isBlank(String text)
public static boolean equal(Object a, Object b)
public static int compare(Object a, Object b)
a
- the first objectb
- the second objectCopyright © 2020 JBoss by Red Hat. All rights reserved.