zhuguifei
2025-04-28 442928123f63ee497d766f9a7a14f0a6ee067e25
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//
 
package org.jeecg.modules.doc.entity;
 
public class Range {
    private int start;
    private int length;
 
    public Range() {
    }
 
    public int getStart() {
        return this.start;
    }
 
    public int getLength() {
        return this.length;
    }
 
    public void setStart(final int start) {
        this.start = start;
    }
 
    public void setLength(final int length) {
        this.length = length;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof Range)) {
            return false;
        } else {
            Range other = (Range)o;
            if (!other.canEqual(this)) {
                return false;
            } else if (this.getStart() != other.getStart()) {
                return false;
            } else {
                return this.getLength() == other.getLength();
            }
        }
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof Range;
    }
 
    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        result = result * 59 + this.getStart();
        result = result * 59 + this.getLength();
        return result;
    }
 
    public String toString() {
        return "Range(start=" + this.getStart() + ", length=" + this.getLength() + ")";
    }
}