3 ms·
I'm not sure how one would encode that information in java. Isn't toString() a special case in java? If you try to cast any object to a String, something (Strin
by e12e 11y ago
I'm not sure how one would encode that information in java. Isn't toString() a special case in java? If you try to cast any object to a String, something (String?) will look for the toString class. I'm not sure what the equivalent would be for a widget that can be perfectly valid to add to another widget both in a hidden, and show()n state?
To compare with toString, it's more like if you didn't do obj.show(), obj.toString() would return the empty string?