@@ -0,0 +1,1159 @@
+/*%0A * Copyright (c) 2012 Mateusz Parzonka, Eric Bodden%0A * All rights reserved. This program and the accompanying materials%0A * are made available under the terms of the Eclipse Public License v1.0%0A * which accompanies this distribution, and is available at%0A * http://www.eclipse.org/legal/epl-v10.html%0A *%0A * Contributors:%0A * Mateusz Parzonka - initial API and implementation%0A */%0Apackage prm4j.indexing.realtime;%0A%0Aimport java.lang.ref.WeakReference;%0A%0Aimport prm4j.indexing.map.MinimalMapEntry;%0A%0Apublic class NodeReference extends WeakReference%3CNode%3E implements MinimalMapEntry%3CLowLevelBinding, NodeReference%3E %7B%0A%0A    private final int hashCode;%0A    private final LowLevelBinding key;%0A    private NodeReference next;%0A%0A    public NodeReference(Node referent, LowLevelBinding key, int hashCode) %7B%0A%09super(referent);%0A%09this.key = key;%0A%09this.hashCode = hashCode;%0A    %7D%0A%0A    @Override%0A    public int getHashCode() %7B%0A%09return hashCode;%0A    %7D%0A%0A    @Override%0A    public LowLevelBinding getKey() %7B%0A%09return key;%0A    %7D%0A%0A    @Override%0A    public NodeReference next() %7B%0A%09return next;%0A    %7D%0A%0A    @Override%0A    public void setNext(NodeReference next) %7B%0A%09this.next = next;%0A    %7D%0A%0A%7D%0A

Add NodeReference