Examples of ExpansionSetPredicate


Examples of mage.filter.predicate.other.ExpansionSetPredicate

            if (this.cbExpansionSet.isVisible()) {
                String expansionSelection = this.cbExpansionSet.getSelectedItem().toString();
                if (!expansionSelection.equals("- All Sets")) {
                    ArrayList<Predicate<Card>> expansionPredicates = new ArrayList<>();
                    for (String setCode : ConstructedFormats.getSetsByFormat(expansionSelection)) {
                        expansionPredicates.add(new ExpansionSetPredicate(setCode));
                    }
                    filter.add(Predicates.or(expansionPredicates));
                }
            }
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.