This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
It still uses the Entry table internally during runtime. The transient keyword only means that the entries will not be serialized / deserialized by default. That's where the readObject and writeObject methods come in; they read / write the entries manually. From the Java 6 source code of HashMap:
s.defaultWriteObject() writes the threshold and loadFactor fields; all other fields are transient. Likewise, s.defaultReadObject() reads those two fields again. The Entry table is simply reconstructed instead of serialized and deserialized.>
Joined: Feb 20, 2009
Got it now.
Thanks Lorand, Rob.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com