It's not a secret anymore!*
The moose likes Beginning Java and the fly likes How to create immutable object class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How to create immutable object class" Watch "How to create immutable object class" New topic
Author

How to create immutable object class

Ramkumar Vaitheki
Greenhorn

Joined: Jan 03, 2007
Posts: 22
Hi all,

Can you please let me know the way of creating immutable objects from our userdefined class? Looking forward responses

Thanks,
Ram
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

http://www.javaranch.com/journal/2003/04/immutable.htm
Ramkumar Vaitheki
Greenhorn

Joined: Jan 03, 2007
Posts: 22
Thanks David, It would be helpful
Anshul Malpani
Greenhorn

Joined: Mar 05, 2007
Posts: 13
see this

http://www.javapractices.com/topic/TopicAction.do?Id=29


SCJP-5.0
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to create immutable object class
 
Similar Threads
Is the Math class considered immutable?
Math class immutable
equals() and ==
Java
How to make a class immutable??????????