package net.acomputerdog.core.tree;

public class ImmutableLeaf<T> extends Leaf<T> {
    public ImmutableLeaf(Branch branch, T item) {
        super(branch, item);
    }

    @Override
    public void setItem(T item) {
        //immutable :)
    }
}

@@ -34,55 +34,272 @@
 e;%0A%0A
-public class ImmutableLeaf%3CT%3E extends Leaf%3CT%3E %7B
+/**%0A * An immutable leaf%0A *%0A * @param %3CT%3E The type of this leaf%0A */%0Apublic class ImmutableLeaf%3CT%3E extends Leaf%3CT%3E %7B%0A    /**%0A     * Creates a new ImmutableLeaf%0A     * @param branch The branch to attach to%0A     * @param item The item this ImmutableLeaf holds%0A     */
 %0A   

Add comments to ImmutableLeaf