Package net.feed_the_beast.launcher.json.assets.AssetIndex

Examples of net.feed_the_beast.launcher.json.assets.AssetIndex.Asset


        Parallel.TaskHandler th = new Parallel.ForEach(index.objects.entrySet())
                .withFixedThreads(2 * OSUtils.getNumCores())
                        //.configurePoolSize(2*2*OSUtils.getNumCores(), 10)
                .apply(new Parallel.F<Entry<String, Asset>, Void>() {
                    public Void apply (Entry<String, Asset> e) {
                        Asset asset = e.getValue();
                        File local = new File(targetDir, e.getKey());
                        File object = new File(objects, asset.hash.substring(0, 2) + "/" + asset.hash);

                        old.remove(local);

View Full Code Here

TOP

Related Classes of net.feed_the_beast.launcher.json.assets.AssetIndex.Asset

Copyright © 2018 www.massapicom. 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.