Searched defs:choices (Results 1 - 9 of 9) sorted by relevance

/openjdk7/jdk/src/share/classes/java/sql/
H A DDriverPropertyInfo.java40 * name and value. The <code>description</code> and <code>choices</code>
83 public String[] choices = null; field in class:DriverPropertyInfo
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DAudioSynthesizerPropertyInfo.java36 * name and value. The <code>description</code> and <code>choices</code>
77 public Object[] choices = null; field in class:AudioSynthesizerPropertyInfo
/openjdk7/jdk/src/share/classes/javax/security/auth/callback/
H A DChoiceCallback.java31 * method of a <code>CallbackHandler</code> to display a list of choices
46 * @serial the list of choices
49 private String[] choices; field in class:ChoiceCallback
57 * choices
62 * @serial the selected choices, represented as indexes into the
63 * <code>choices</code> list.
70 * a list of choices, a default choice, and a boolean specifying
71 * whether or not multiple selections from the list of choices are allowed.
75 * @param prompt the prompt used to describe the list of choices. <p>
77 * @param choices th
98 ChoiceCallback(String prompt, String[] choices, int defaultChoice, boolean multipleSelectionsAllowed) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jdi/connect/
H A DConnector.java270 * whose value is a String selected from a list of choices.
277 List<String> choices(); method in interface:Connector.SelectedArgument
281 * @return <code>true</code> if value is one of {@link #choices()}.
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/main/
H A DJavacOption.java105 /** The kind of choices for this option, if any.
109 /** The choices for this option, if any, and whether or not the choices
112 Map<String,Boolean> choices; field in class:JavacOption.Option
126 Option(OptionName name, String descrKey, ChoiceKind choiceKind, String... choices) { argument
127 this(name, descrKey, choiceKind, createChoices(choices));
130 private static Map<String,Boolean> createChoices(String... choices) { argument
132 for (String c: choices)
138 Map<String,Boolean> choices) {
140 if (choiceKind == null || choices
137 Option(OptionName name, String descrKey, ChoiceKind choiceKind, Map<String,Boolean> choices) argument
267 XOption(OptionName name, String descrKey, ChoiceKind kind, String... choices) argument
270 XOption(OptionName name, String descrKey, ChoiceKind kind, Map<String,Boolean> choices) argument
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/jdi/
H A DConnectorImpl.java605 private final List choices; field in class:ConnectorImpl.SelectedArgumentImpl
609 boolean mustSpecify, List choices) {
611 this.choices = Collections.unmodifiableList(
612 new ArrayList(choices));
619 public List choices() { method in class:ConnectorImpl.SelectedArgumentImpl
620 return choices;
625 * @return <code>true</code> if value is one of {@link #choices()}.
628 return choices.contains(value);
607 SelectedArgumentImpl(String name, String label, String description, String value, boolean mustSpecify, List choices) argument
/openjdk7/jdk/src/share/classes/com/sun/tools/jdi/
H A DConnectorImpl.java400 private final List<String> choices; field in class:ConnectorImpl.SelectedArgumentImpl
404 boolean mustSpecify, List<String> choices) {
406 this.choices = Collections.unmodifiableList(new ArrayList<String>(choices));
413 public List<String> choices() { method in class:ConnectorImpl.SelectedArgumentImpl
414 return choices;
419 * @return <code>true</code> if value is one of {@link #choices()}.
422 return choices.contains(value);
402 SelectedArgumentImpl(String name, String label, String description, String value, boolean mustSpecify, List<String> choices) argument
/openjdk7/langtools/test/tools/javac/scope/
H A DStarImportTest.java70 * Select a random element from an array of choices.
72 <T> T random(T... choices) { argument
73 return choices[rgen.nextInt(choices.length)];
/openjdk7/jdk/src/share/classes/com/sun/java/util/jar/pack/
H A DCodingChooser.java61 Choice[] choices; field in class:CodingChooser
68 // Element in sorted set of coding choices:
72 final int index; // index in choices
81 int minDistance; // min distance from already-checked choices
152 choices = new Choice[nc];
156 int[] distance = new int[choices.length];
157 choices[nc++] = new Choice(allCodingChoices[i], i, distance);
159 for (int i = 0; i < choices.length; i++) {
160 Coding ci = choices[i].coding;
163 Coding cj = choices[
[all...]

Completed in 168 milliseconds