File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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?
Arraylist and linklist !!
Using @Transient Annotation in the POJO class
How is serialization handled with transient variables defined in Collections ?
Generics and casting
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015