Fork of the Fernflower decompiler
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
fernflower/test/test/BradTest.java

57 lines
715 B

package test;
import java.util.LinkedList;
import java.util.List;
public class BradTest {
public void testForLoop() {
for(int i = 0; i < 5; i++) {
System.out.println(i);
}
int[] testArray = new int[] {};
for(int i : testArray) {
System.out.println(i);
}
int k = 0;
int j = 0;
while(j < 5) {
System.out.println("Test while.");
j++;
if(j < 3) {
continue;
}
k++;
}
List keys = new java.util.ArrayList();
for(Object test : keys) {
System.out.println(test);
System.out.println(test);
System.out.println(test);
}
List<BradTest> objects = new LinkedList<BradTest>();
for(BradTest test : objects) {
System.out.println(test);
}
}
}