@Override
    public boolean equals(Object obj) {
        if (obj == null){
            return false;
        }
        if ( this.getClass() == obj.getClass()){
            if(this.id.equals(((Operator)obj).id) && this.pos == ((Operator)obj).pos){
                return true;
            }
        }
        return false;
        
    }