All Downloads are FREE. Search and download functionalities are using the official Maven repository.

Lib.tests.source.Switch Maven / Gradle / Ivy

There is a newer version: 1.1
Show newest version
public class Switch {
    strictfp public static void main(String args[]){
    	int x = -1;

    	switch(args.length % -5){
			case 3:
				x += 3;
			case 1:
				x--;
				if (x == -2){
					break;
				}
			case 0:
				x += (x << x);
				break;
			case 2:
			default:
				x = x ^ (int)0xABCD000L;
			case 4:
				x *= 4;
				break;
		}

    	System.out.println(x);
    	System.out.println(i(args.length));
	}

	static public int i(int x){
		switch (x)	{
			case 2:
				x += 4;
			default:
				return -x;
			case 1: case 3:
				throw null;
		}
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy