Search:

Type: Posts; User: dhasija

Search: Search took 0.10 seconds.

  1. Replies
    8
    Views
    1,034

    Re: How to test if class/object is immutable

    thanks for correcting me,I have read the article, so here is my questions


    Below I have written the immutable class, Please let me know
    1) Whats wrong in my code
    2) how may i test my immutable...
  2. Replies
    8
    Views
    1,034

    Re: How to test if class/object is immutable

    This is my code only, i need to know two things
    1) Whats wrong in my code
    2) how may i test my immutable class

    import java.util.*;
    import java.util.Map.Entry;

    public final class...
  3. Replies
    8
    Views
    1,034

    Re: How to test if class/object is immutable

    That exactly was my question how may I test it if the above class is immutable or not
  4. Replies
    8
    Views
    1,034

    Re: How to test if class/object is immutable

    immutable object (it cannot be changed once it's created). you mau always correct me if im wrong
  5. Replies
    8
    Views
    1,034

    How to test if class/object is immutable

    I have make the immutable class as below, Now my question is how I can test if my this class/object is immutable

    package com.learning;

    import java.util.*;
    import java.util.Map.Entry;

    public...
Results 1 to 5 of 5