equal
deleted
inserted
replaced
44 * |
44 * |
45 * @param prompt the non-null prompt to use to request the realm. |
45 * @param prompt the non-null prompt to use to request the realm. |
46 * @param choices the non-null list of realms to choose from. |
46 * @param choices the non-null list of realms to choose from. |
47 * @param defaultChoice the choice to be used as the default choice |
47 * @param defaultChoice the choice to be used as the default choice |
48 * when the list of choices is displayed. It is an index into |
48 * when the list of choices is displayed. It is an index into |
49 * the {@code choices} arary. |
49 * the {@code choices} array. |
50 * @param multiple true if multiple choices allowed; false otherwise |
50 * @param multiple true if multiple choices allowed; false otherwise |
51 * @throws IllegalArgumentException If {@code prompt} is null or the empty string, |
51 * @throws IllegalArgumentException If {@code prompt} is null or the empty string, |
52 * if {@code choices} has a length of 0, if any element from |
52 * if {@code choices} has a length of 0, if any element from |
53 * {@code choices} is null or empty, or if {@code defaultChoice} |
53 * {@code choices} is null or empty, or if {@code defaultChoice} |
54 * does not fall within the array boundary of {@code choices} |
54 * does not fall within the array boundary of {@code choices} |