Package java.util

Examples of java.util.LinkedHashSet.removeAll()


        }

        Collection selectedDependencies = new LinkedHashSet( artifacts );
        DependencyExcluder excluder = new DependencyExcluder( artifacts );
        excluder.processHeaders( excludeDependencies );
        selectedDependencies.removeAll( excluder.getExcludedArtifacts() );

        return selectedDependencies;
    }

View Full Code Here


                            clear = new ArrayList(independent.size() - 1);
                        clear.add(map);
                    }
                }
                if (clear != null)
                    independent.removeAll(clear);

                _assignMaps = (ClassMapping[]) independent.toArray
                    (new ClassMapping[independent.size()]);
            }
        }
View Full Code Here

            Manifest manifest = new Manifest(is);
            Attributes includedAttributes = manifest.getMainAttributes();
            Attributes shadedAttributes = shadedManifest.getMainAttributes();
            Set shadedImportPackages = new LinkedHashSet(Arrays.asList(
                    shadedAttributes.getValue("Import-Package").split(",")));
            shadedImportPackages.removeAll(Arrays.asList(
                    includedAttributes.getValue("Export-Package").split(",")));
            shadedImportPackages.addAll(Arrays.asList(
                    includedAttributes.getValue("Import-Package").split(",")));
            shadedAttributes.putValue("Import-Package",
                    StringUtils.join(shadedImportPackages.iterator(), ","));
View Full Code Here

                        nonDeterm.add(t2);
                    }
                }
            }
            // check if all non-deterministic situations have been resolved
            nonDeterm.removeAll(removeList);
            if (nonDeterm.size() > 0) {
                // if not, first one in each state / region (which is also
                // first in document order) wins
                Set regions = new HashSet();
                Iterator iter = nonDeterm.iterator();
View Full Code Here

                            clear = new ArrayList(independent.size() - 1);
                        clear.add(map);
                    }
                }
                if (clear != null)
                    independent.removeAll(clear);

                _assignMaps = (ClassMapping[]) independent.toArray
                    (new ClassMapping[independent.size()]);
            }
        }
View Full Code Here

        }

        if ( testBeforeMain )
        {
            directories.addAll( testDirectories );
            directories.removeAll( mainDirectories );
            directories.addAll( mainDirectories );
        }
        else
        {
            directories.addAll( mainDirectories );
View Full Code Here

        boolean testBeforeMain = isMavenVersion( "[2.0.8,)" );

        if ( testBeforeMain )
        {
            directories.addAll( testDirectories );
            directories.removeAll( mainDirectories );
            directories.addAll( mainDirectories );
        }
        else
        {
            directories.addAll( mainDirectories );
View Full Code Here

                            clear = new ArrayList(independent.size() - 1);
                        clear.add(map);
                    }
                }
                if (clear != null)
                    independent.removeAll(clear);

                _assignMaps = (ClassMapping[]) independent.toArray
                    (new ClassMapping[independent.size()]);
            }
        }
View Full Code Here

            testBeforeMain = false;
        }

        if (testBeforeMain) {
            directories.addAll(testDirectories);
            directories.removeAll(mainDirectories);
            directories.addAll(mainDirectories);
        } else {
            directories.addAll(mainDirectories);
            directories.addAll(testDirectories);
        }
View Full Code Here

                            clear = new ArrayList(independent.size() - 1);
                        clear.add(map);
                    }
                }
                if (clear != null)
                    independent.removeAll(clear);

                _assignMaps = (ClassMapping[]) independent.toArray
                    (new ClassMapping[independent.size()]);
            }
        }
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.