-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathForLoop.java
More file actions
29 lines (24 loc) · 770 Bytes
/
ForLoop.java
File metadata and controls
29 lines (24 loc) · 770 Bytes
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
import java.util.*;
import static java.util.stream.Collectors.*;
import java.io.FileOutputStream;
import java.io.ObjectOutputStream;
import java.io.FileInputStream;
import java.io.ObjectInputStream;
import org.antlr.v4.runtime.tree.ParseTreeProperty;
import org.antlr.v4.runtime.tree.TerminalNode;
class ForLoop{
long LowerBound;
long UpperBound;
String GoverningVar;
long Stride;
List<String> ArrTouched;
public ForLoop() {
ArrTouched = new ArrayList<String>();
}
/************* USEFUL FOR DEBUGGING *************/
@Override
public String toString() {
return "{ LowerBound: " + LowerBound + " | UpperBound: " + UpperBound +
" | GoverningVar: " + GoverningVar + " | Stride: " + Stride + " }";
}
}