
software.amazon.awssdk.codegen.rules.FatScope.resource Maven / Gradle / Ivy
import java.util.HashMap;
import software.amazon.awssdk.annotations.SdkInternalApi;
@SdkInternalApi
public final class FatScope {
private final HashMap types;
private final HashMap facts;
public FatScope(HashMap types, HashMap facts) {
this.types = types;
this.facts = facts;
}
public FatScope() {
this(new HashMap<>(), new HashMap<>());
}
public HashMap types() {
return types;
}
public HashMap facts() {
return facts;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
FatScope> fatScope = (FatScope>) o;
if (types != null ? !types.equals(fatScope.types) : fatScope.types != null) {
return false;
}
return facts != null ? facts.equals(fatScope.facts) : fatScope.facts == null;
}
@Override
public int hashCode() {
int result = types != null ? types.hashCode() : 0;
result = 31 * result + (facts != null ? facts.hashCode() : 0);
return result;
}
@Override
public String toString() {
return "FatScope[" +
"types=" + types + ", " +
"facts=" + facts + ']';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy