Code example for UUID

Methods: equals

0
    } 
 
    @Override 
    public boolean equals(Object obj) {
        if (obj != null && obj instanceof ServiceReferenceImpl) {
            return registration.equals(((ServiceReferenceImpl) obj).registration);
        } 
        return false; 
    } 
 
    public ServiceReference getServiceReference() { 
        return new ServiceReference(url, properties); 
    } 
 
    @Override 
    public int hashCode() { 
        return registration.hashCode();
    } 
 
    @Override 
    protected ServiceReferenceImpl clone() {