public static Object $case(Object... args) {
		Boolean found = false;
		Object returnObj = null;
		if (args != null) {
			if (args.length < 3) {
				throw new IllegalArgumentException(
						"This method requires at least one pair of condition and value that returns as true.");
			}
			Object target = args[0];
			for (int i = 1; i < args.length; i++) {
				if (i % 2 != 0) {
					if (mOp.Equal(target, args[i])) {
						found = true;
						returnObj = args[i + 1];
						break;
					}
				}
			}
			if (!found) {
				if (args.length % 2 != 0) {
					throw new IllegalArgumentException(
							"This method requires at least one pair of condition and value.");
				} else {
					returnObj = args[args.length - 1];
				}
			}
		}
		return returnObj;
	}