Code example for UUID

Methods: equals

0
        if (_Id == null) {
            if (other._Id != null) {
                return false; 
            } 
        } 
        else if (!_Id.equals(other._Id)) {
            return false; 
        } 
 
        return true; 
    } 
 
    public UUID getId() {
        return _Id;
    } 
 
    @Override 
    public S getSource() { 
        return _Source;
    }