public final class ReferentUuids extends Object
ReferentUuid
.ReferentUuid
Modifier and Type | Method and Description |
---|---|
static boolean |
compare(Object o1,
Object o2)
Returns
true if the two passed objects are
non-null , implement ReferentUuid and
their getReferentUuid methods return equivalent
Uuid s, or if they are both null . |
public static boolean compare(Object o1, Object o2)
true
if the two passed objects are
non-null
, implement ReferentUuid
and
their getReferentUuid
methods return equivalent
Uuid
s, or if they are both null
.
Otherwise returns false
.o1
- The first object to compare.o2
- The second object to compare.true
if o1
and o2
implement ReferentUuid
and their
getReferentUuid
methods return equivalent
Uuid
s, or if o1
and o2
are both null
.Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.