package com.qianwen.core.tool.beans;
|
|
/* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/beans/BladeBeanMapKey.class */
|
public class BladeBeanMapKey {
|
private final Class type;
|
private final int require;
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof BladeBeanMapKey) {
|
BladeBeanMapKey other = (BladeBeanMapKey) o;
|
if (other.canEqual(this) && this.require == other.require) {
|
Object this$type = this.type;
|
Object other$type = other.type;
|
return this$type == null ? other$type == null : this$type.equals(other$type);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof BladeBeanMapKey;
|
}
|
|
public int hashCode() {
|
int result = (1 * 59) + this.require;
|
Object $type = this.type;
|
return (result * 59) + ($type == null ? 43 : $type.hashCode());
|
}
|
|
public BladeBeanMapKey(final Class type, final int require) {
|
this.type = type;
|
this.require = require;
|
}
|
}
|