Search:

Type: Posts; User: copeg

Search: Search took 0.10 seconds.

  1. Replies
    4
    Views
    2,476

    Re: Java Wrapper Classes

    Be careful in getting Immutability confused with Wrapper classes and caching (points 1 and 2). Immutability does not have much to do with being able to wrap a primitive and place it into a Map (it...
  2. Replies
    4
    Views
    2,476

    Re: Java Wrapper Classes

    Making a class immutable has advantages for both Garbage Collection and security. Security wise, one cannot alter the value of the object and leave it in an unexpected state. Examples and how this...
Results 1 to 2 of 2