Package java.util

Examples of java.util.HashSet.retainAll()


     * @param grailsDomainClasses the collection of valid sub-classes
     * @return the collection of subclasses, if any
     */
    public static Collection getSubClasses(GrailsDomainClass grailsDomainClass, Collection grailsDomainClasses) {
        Set subClasses = new HashSet(grailsDomainClass.getSubClasses());
        subClasses.retainAll(grailsDomainClasses);
        return subClasses;
    }

    /**
     * Get the parent GrailsDomainClass for the given GrailsDomainClass, if it
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.