package bruce.common.functional;

public final class Pointer<T> {
	public Pointer() { }
	public Pointer(T initVal) {
		value = initVal;
	}

	public T value;
}

@@ -149,11 +149,530 @@
 T value;
+%0A%0A%09@Override%0A%09public String toString() %7B return %22Pointer %5Bvalue=%22 + value + %22%5D%22; %7D%0A%09%0A%09@Override%0A%09public int hashCode() %7B return 31 + ((value == null) ? 0 : value.hashCode()); %7D%0A%09%0A%09@Override%0A%09public boolean equals(Object obj) %7B%0A%09%09if (this == obj) return true;%0A%09%09if (obj == null) return false;%0A%09%09if (getClass() != obj.getClass()) return false;%0A%09%09Pointer other = (Pointer) obj;%0A%09%09if (value == null) %7B%0A%09%09%09if (other.value != null)%0A%09%09%09%09return false;%0A%09%09%7D else if (!value.equals(other.value))%0A%09%09%09return false;%0A%09%09return true;%0A%09%7D
 %0A%7D%0A

make pointer compareable