<snip>

> >
> > how does the above work with Collections that don't have an explicit
> > ordering, like a Map or Set?
> >
> 
> Map's aren't Collections, so it doesn't work with them. 

you're right, I should check my Javadoc more carefully... :)

>Set's it treats in
> iterator order, so you've a good point, it should be  java.util.List
> slice(java.util.List, int, int)
> 

Seems a bit redundant if changing to accept a List. Couldn't you just
call List.subList(fromIndex, toIndex); ?

Jari

> Bay

--
Jari Worsley
Senior Programmer
Hyperlink Interactive Ltd

Reply via email to