Code example for UUID

Methods: equals

0
            return false; 
        } 
         
        final LoggedRequest other = (LoggedRequest) obj;
         
        if (this.id != other.id && (this.id == null || !this.id.equals(other.id))) {
            return false; 
        } 
         
        return true; 
    } 
 
    @Override 
    public int hashCode() { 
        return HASH_NUM + (this.id != null ? this.id.hashCode() : 0);
    } 
} 
Contextual code suggestions in your IDE  Get Codota for Java