}
private void init(LongIndex[] newLongIndexes) {
this.localizer = new LocalizerImpl(nodePool, new StringNodeMapperFactoryImpl().createMapper());
this.graphHandlers = createGraphHandlers(newLongIndexes);
this.iteratorFactory = new OrderedIteratorFactoryImpl(localizer, graphHandlers, collectionFactory);
this.readWriteGraph = new ReadWriteGraphImpl(longIndexes, nodePool, iteratorFactory);
GraphValueFactory valueFactory = new GraphValueFactoryImpl(nodePool, localizer);
ResourceFactory resourceFactory = new ResourceFactoryImpl(readWriteGraph, valueFactory);
this.elementFactory = new GraphElementFactoryImpl(resourceFactory, localizer, valueFactory);
this.tripleFactory = new TripleFactoryImpl(readWriteGraph, elementFactory);