public static void main(String args[]) {
		int max = 987654321;

		long start = System.currentTimeMillis();
		int largestFound = 0;

		loop1: for (int i = 1; i < max; i++) {
			String valString = "" + i;
			for (int j = 2; j < max; j++) {
				valString += (i * j);

				int test = isPandigital(valString);
				if (test == FALSE_BREAK && j == 2)
					break loop1;
				if (test == FALSE_BREAK || test == FALSE_BREAK_INNER)
					break;

				if (test == TRUE) {
					System.out.println("" + i + " - " + j + " -> " + valString);
					if (Integer.parseInt(valString) > largestFound)
						largestFound = Integer.parseInt(valString);
				}
			}
		}
		long stop = System.currentTimeMillis();

		System.out.println("result: " + largestFound);
		System.out.println("time: " + (stop - start) + "ms");

		System.exit(0);
	}