MapImageBoxProvider other = (MapImageBoxProvider) obj;
return MapImage.this.equals(other.getParent());
} else if (temporary) {
return false;
} else {
final BoxProvider other = (BoxProvider) obj;
BoxProviderResult resultOther = other.get();
if (resultOther.isTemporary()) return false;
return box().equals(resultOther.getBox());
}
}