Package 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:
  • Method Details

    • 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.