in sdmx30-infomodel/src/main/java/com/epam/jsdmx/infomodel/sdmx30/ItemSchemeImpl.java [47:64]
public boolean deepEquals(Object o, Set<DeepEqualsExclusion> exclusions) {
if (o == this) {
return true;
}
if (!(o instanceof ItemScheme)) {
return false;
}
final ItemScheme<?> other = (ItemSchemeImpl<?>) o;
if (!super.deepEquals(o, exclusions)) {
return false;
}
final List<? extends Item> thisItems = this.getItems();
final List<? extends Item> otherItems = other.getItems();
if (CollectionUtils.isEmpty(thisItems) && CollectionUtils.isEmpty(otherItems)) {
return true;
}
return thisItems != null && equalsOrdered(thisItems, otherItems);
}