public boolean equals(Object other) {
        if (other == null)
	    return false;
	if (other == this)
	    return true;
	if (CPointer.class != other.getClass())
	    return false;
	return peer == ((CPointer)other).peer;
    }