From 1851f5e76018ec1df3b55dce6cc9a64c9497bf7a Mon Sep 17 00:00:00 2001 From: bd-912 Date: Fri, 26 Apr 2024 15:50:38 -0600 Subject: Rearrange directory structure --- vaporize/TransientInterval.java | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 vaporize/TransientInterval.java (limited to 'vaporize/TransientInterval.java') diff --git a/vaporize/TransientInterval.java b/vaporize/TransientInterval.java new file mode 100644 index 0000000..3399092 --- /dev/null +++ b/vaporize/TransientInterval.java @@ -0,0 +1,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); + } + +} -- cgit v1.2.3