A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
Java in General
How does Hashtable attribute of a class get serilized?
Joined: Dec 29, 2012
Jan 25, 2013 02:54:30
Elements in Hashtable get stored in an Array of Entry. i.e .transient Entry<K, V> elementData; elementData is a transient variable. Then how does a Hashtable attribute of a class get serialized ?
Joined: Jan 28, 2003
Jan 25, 2013 05:31:44
It has writeObject()/readObect() to customize the serialization process.
I agree. Here's the link:
subject: How does Hashtable attribute of a class get serilized?
Generics and casting
Arraylist and linklist !!
How is serialization handled with transient variables defined in Collections ?
Using @Transient Annotation in the POJO class
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014