yangys
2024-05-07 9b677ea5c6978788d135fc15da3d78c5a93789c2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package com.qianwen.core.tool.beans;
 
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;
    }
}