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.
- 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
Uuids, 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
Uuids, 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
Uuids, or if o1 and o2
are both null.
Copyright 2005, Sun Microsystems, Inc.
Licensed under the Apache License, Version 2.0.