Package org.apache.jackrabbit.oak.plugins.document.util

Examples of org.apache.jackrabbit.oak.plugins.document.util.MapFactory.create()


        MapFactory tmpFactory = null;
        Map<String, Revision> pending;
        try {
            if (map.size() > IN_MEMORY_SIZE_LIMIT) {
                tmpFactory = MapFactory.createFactory();
                pending = tmpFactory.create(PathComparator.INSTANCE);
            } else {
                pending = Maps.newTreeMap(PathComparator.INSTANCE);
            }
            pending.putAll(map);
        } finally {
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.