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

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) &&
            o.last_use == this.last_use;
    }

}