On 15.08.2006 13:55:20 thomas.deweese wrote: > Hi Cameron, > > Cameron McCormack <[EMAIL PROTECTED]> wrote on 08/15/2006 03:15:35 AM: > > > Thomas DeWeese: > > > I've noticed that the anim code doesn't currently compile under > JDK > > > 1.3. > > > > I probably should try compiling with 1.3 more often! > > It's becoming increasingly difficult to keep my development on 1.3.
I agree. Same problems in the FOP area. I guess a new user poll will be useful when J2SE 6 is out, because that's when the EOL phase of J2SE 1.3.1 ends. > > > I've fixed a couple of the problems but there are two major issues: > > > > > > 1) The use of LinkedHashSet in the batik.anim.timing.TimeContainer. > > > This is tricky since we want the 'quick' removal. However I > > > think we probably need to just switch to a simple LinkedList > > > perhaps with a matching set (to avoid duplicate adds, > > > I'm not sure if this can happen). > > > > Yeah, I think with normal operation that TimedElements won?t ever be > > added more than once. I?d be happy with it just being a LinkedList. > > The other option would be to roll our own doubly linked list with > the TimedElements being the nodes which would allow constant time > removal (and would in fact be slightly better than the LinkedHashSet). > [RANT: It's always annoyed me that they don't open up the Nodes in the > JDK linked list implementation]. Just a thought: Have you ever checked if the Jakarta Commons Collections list implementation might better meet your needs? Just a short glance would suggest it does. http://jakarta.apache.org/commons/collections/api-release/index.html <snip/> Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
