Search:

Type: Posts; User: copeg

Search: Search took 0.10 seconds.

  1. Thread: Immutable String

    by copeg
    Replies
    7
    Views
    1,784

    [SOLVED] Re: Immutable String

    Indeed. Sorry for the self-promotion, but I wrote an article a while back that describes when to construct a new String object, and goes into detail about what goes on under the hood of this class,...
  2. Thread: Immutable String

    by copeg
    Replies
    7
    Views
    1,784

    [SOLVED] Re: Immutable String

    Not exactly. From the API of the hashcode() method for String:



    In other words, the hashcode for this class doesn't directly refer to memory - doing so would be pretty catastrophic in terms of...
Results 1 to 2 of 2