>> But my question is still open: is it safe because they are not unique to
>> element?
>>
>
>They are still unique ever new element still gets a unique hashcodes, and all
>strings are turned into StringElements getting a unique object hashcode at
that
>point.
Where do you actually implement hashCode method?
>> And isn't it easier and faster to simply wrap int with Integer rather than
>> convert it to String?
>
>We do it this way so that we are dealing with a known. We know that all
>keys are
>strings and therefore can make certain assumptions. It's hard to do
>comparisions
>against an unknown.
It's Integer, not unknown.
Sorry for pushing this, I just want to feel safe about ECS.
Zeljko Trogrlic
____________________________________________________________
@-solutions GmbH
Grillparzer Str. 14; D-81675 Muenchen
Tel.: 089/45 79 0-351; Fax.: 089/45 79 0-321
Email: mailto:[EMAIL PROTECTED] WWW: http://www.at-solutions.de
--
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]