Michael Glavassevich wrote:
When addSymbol is called with the same char argument you'll get the same string object, since:

new String(buffer1, offset1, length1).intern() == new String(buffer2, offset2, length2).intern()
if length1 == length2 and buffer1[offset1 + n] == buffer2[offset2 + n] for all n < length1.

I think you described equals() not ==, yes?

Bob Foster


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to