summaryrefslogtreecommitdiff
path: root/vaporize/TransientInterval.java
blob: 339909235a097e0ef87c70eb4e1a4cb4bceccc3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package vaporize;

import misc.*;

class TransientInterval {

    protected int first_def;
    protected int last_use;

    protected TransientInterval(int first_def, int last_use) {
        this.first_def = first_def;
        this.last_use = last_use;
    }

    @Override public boolean equals(Object other) {
        TransientInterval o;
        return (other instanceof TransientInterval) &&
            (((o = (TransientInterval) other)).first_def == this.first_def);
    }

}