net.jini.id
Class ReferentUuids
java.lang.Object
net.jini.id.ReferentUuids
public final class ReferentUuids
- extends Object
Convenience methods for working with proxies that implement
ReferentUuid
.
- Since:
- 2.0
- Author:
- Sun Microsystems, Inc.
- See Also:
ReferentUuid
Method Summary |
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 . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
compare
public 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
.
Otherwise returns false
.
- Parameters:
o1
- The first object to compare.o2
- The second object to compare.
- Returns:
true
if o1
and o2
implement ReferentUuid
and their
getReferentUuid
methods return equivalent
Uuid
s, or if o1
and o2
are both null
.
Copyright © GigaSpaces.