Java Serialization Comparator -


Is it possible to serial a trademark with a comparator ??

I have tested and it has been serial well without a comparator, a treemap, when you add a comparator, it throws an exception.

If I declare the comparator as transient, it still does not work. It works only when I make the map of every tree transient, but in that situation the trees do not sort.

All sections you want to serial are sent to them by java.io.Serializable should apply the interface. Additionally, each member variable should be serialjob in your class. In fact, your entire hierarchy should be.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -