MCPcopy Create free account
hub / github.com/Card-Forge/forge / getChoices

Method getChoices

forge-gui-mobile/src/forge/toolbox/GuiChoose.java:204–206  ·  view source on GitHub ↗
(final String message, final int min, final int max, final T[] choices, final Consumer<List<T>> callback)

Source from the content-addressed store, hash-verified

202
203 // returned Object will never be null
204 public static <T> void getChoices(final String message, final int min, final int max, final T[] choices, final Consumer<List<T>> callback) {
205 getChoices(message, min, max, Arrays.asList(choices), null, null, callback);
206 }
207
208 public static <T> void getChoices(final String message, final int min, final int max, final Collection<T> choices, final Consumer<List<T>> callback) {
209 getChoices(message, min, max, choices, null, null, callback);

Callers 9

runMethod · 0.95
onActivateMethod · 0.95
AbstractFilterButtonMethod · 0.95
oneOrNoneMethod · 0.95
oneMethod · 0.95
noneOrManyMethod · 0.95
revealMethod · 0.95
sortedGetChoicesMethod · 0.95
addPerCardItemsMethod · 0.95

Calls 3

showMethod · 0.95
isEmptyMethod · 0.65
acceptMethod · 0.45

Tested by

no test coverage detected