import com.google.common.collect.ImmutableSortedMap;
import java.util.Collection;
import java.util.LinkedHashSet;
-import java.util.Objects;
import java.util.Optional;
import java.util.Set;
import java.util.SortedMap;
return mandatory;
}
- @Override
- public int hashCode() {
- final int prime = 31;
- int result = 1;
- result = prime * result + Objects.hashCode(getQName());
- result = prime * result + Objects.hashCode(getPath());
- return result;
- }
-
- @Override
- public boolean equals(final Object obj) {
- if (this == obj) {
- return true;
- }
- if (obj == null) {
- return false;
- }
- if (getClass() != obj.getClass()) {
- return false;
- }
- final ChoiceEffectiveStatementImpl other = (ChoiceEffectiveStatementImpl) obj;
- return Objects.equals(getQName(), other.getQName()) && Objects.equals(getPath(), other.getPath());
- }
-
@Override
public String toString() {
- return ChoiceEffectiveStatementImpl.class.getSimpleName() + "["
- + "qname=" + getQName()
- + "]";
+ return ChoiceEffectiveStatementImpl.class.getSimpleName() + "[" + "qname=" + getQName() + "]";
}
}