Package org.jrdf.graph.local.index.nodepool

Examples of org.jrdf.graph.local.index.nodepool.NodePoolImpl.clear()


        final Map<Long, String> uriNodePool = MAP_FACTORY.createMap(Long.class, String.class);
        final Map<Long, String> literalNodePool = MAP_FACTORY.createMap(Long.class, String.class);
        final Map<String, Long> stringPool = MAP_FACTORY.createMap(String.class, Long.class);
        final NodeTypePool nodeTypePool = new NodeTypePoolImpl(mapper, blankNodePool, uriNodePool, literalNodePool);
        final NodePoolImpl pool = new NodePoolImpl(nodeTypePool, stringPool);
        pool.clear();
        return pool;
    }

    public NodePool openExistingNodePool() {
        StringNodeMapper mapper = new StringNodeMapperFactoryImpl().createMapper();
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.