Hi, > I think the risk Dave was mentioning was that if, for instance, toString() > returns the same thing as getString() (on Value), then people - by mistake - > my call the incorrect method, thus making code non-portable.
This risk could be mitigated by returning a prefix (for example the
class name) and the value (except for binaries of course):
public String toString() {
return getClass().getName() + ":" + lNumber;
}
Regards,
Thomas
