GigaSpaces XAP 10.0.1 API

net.jini.id
Class ReferentUuids

java.lang.Object
  extended by 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 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
 

Method Detail

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.

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.