> > But Vector is pretty similar to ArrayList in behaviour, its just that Vector > > is synchronized everywhere, so its probably even slower isn't it? > > but does it do a bounds check?
Yes. Though the code is slightly different. ArrayList uses a seperate private method RangeCheck whereas Vector does it inline, and doesn't check for negative indices. But its about the same. I guess a benchmark test would prove this once and for all. James _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com _______________________________________________ Jaxen-interest mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jaxen-interest