@Override public boolean equals(Object other) { if (other instanceof Value) { Value val = ((Value) other).deref(); if (val instanceof OperationValue) { OperationValue ov = (OperationValue) val; return ov.type.equals(type); } } return false; }
@Override public boolean equals(Object other) { if (other instanceof Value) { Value val = ((Value) other).deref(); if (val instanceof OperationValue) { OperationValue ov = (OperationValue) val; return ov.type.equals(type); } } return false; }