/*
 * Copyright (c) 2012 Mateusz Parzonka, Eric Bodden
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 * Mateusz Parzonka - initial API and implementation
 */
package prm4j.indexing.treebased.impl;

import prm4j.indexing.Event;
import prm4j.indexing.IndexingStrategy;
import prm4j.indexing.treebased.BindingStore;
import prm4j.indexing.treebased.LowLevelBinding;
import prm4j.indexing.treebased.Node;
import prm4j.indexing.treebased.NodeStore;

public class FastIndexingStrategy<A> implements IndexingStrategy<A> {

    private BindingStore<A> bindingStore;
    private NodeStore<A> nodeStore;

    @Override
    public void processEvent(Event<A> event) {
	final LowLevelBinding<A>[] bindings = bindingStore.getBindings(event.getBoundObjects());
	final Node<A> instanceNode = nodeStore.getNode(bindings);

	// TODO

    }

}

@@ -411,16 +411,59 @@
 .impl;%0A%0A
+import prm4j.indexing.AbstractBaseMonitor;%0A
 import p
@@ -911,16 +911,17 @@
 vent) %7B%0A
+%0A
 %09final L
@@ -1065,17 +1065,202 @@
 s);%0A
-%0A%09// TODO
+%09final AbstractBaseMonitor%3CA%3E instanceMonitor = instanceNode.getMonitor();%0A%0A%09if (instanceMonitor == null) %7B%0A%09    // TODO join and chain with implicit update%0A%09%7D else %7B%0A%09    // TODO just update%0A%09%7D
 %0A%0A  

Add method skeleton