Russell, Set,List,Map do not implement Serializable but their implementations do. In the case of Entry ,it's implemented in Map implementations like hashmap . the class which implements Entry there isn't Serializable.
regards, Vineet Semwal On Sat, Jul 18, 2009 at 5:22 PM, Russell Simpkins < russellsimpk...@hotmail.com> wrote: > > hashMap.entrySet returns a Set<Map.Entry> If you look at the javadocs, Set > does not extend Serializable: > public interface Setextends Collection > All Superinterfaces:Collection, Iterable > > > ---------------------------------------- > > Date: Sat, 18 Jul 2009 13:06:32 +0300 > > Subject: HashMap.Entry not serializable? > > From: martin.maku...@koodaripalvelut.com > > To: users@wicket.apache.org > > > > Hi! > > > > I am a bit onfused.. I have new ListView("id", new > > LinkedList(hashMap.entrySet())) and Wicket gives: > > > > > org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException: > > Unable to serialize class: java.util.HashMap$Entry > > > > This does not make sense, I would expect hashmap entries to be fully > > serializable .. not? Any quick workarounds? > > > > ** > > Martin > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > > For additional commands, e-mail: users-h...@wicket.apache.org > > > > _________________________________________________________________ > Windows Liveā¢ HotmailĀ®: Celebrate the moment with your favorite sports > pics. Check it out. > > http://www.windowslive.com/Online/Hotmail/Campaign/QuickAdd?ocid=TXT_TAGLM_WL_QA_HM_sports_photos_072009&cat=sports > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >