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

Method many

forge-gui-mobile/src/forge/toolbox/GuiChoose.java:225–227  ·  view source on GitHub ↗
(final String title, final String topCaption, int cnt, final List<T> sourceChoices, CardView referenceCard, final Consumer<List<T>> callback)

Source from the content-addressed store, hash-verified

223 }
224
225 public static <T> void many(final String title, final String topCaption, int cnt, final List<T> sourceChoices, CardView referenceCard, final Consumer<List<T>> callback) {
226 order(title, topCaption, cnt, cnt, sourceChoices, null, referenceCard, callback);
227 }
228
229 public static <T> void many(final String title, final String topCaption, int min, int max, final List<T> sourceChoices, CardView referenceCard, final Consumer<List<T>> callback) {
230 int m1 = max >= 0 ? sourceChoices.size() - max : -1;

Callers

nothing calls this directly

Calls 2

orderMethod · 0.95
sizeMethod · 0.65

Tested by

no test coverage detected