Re: Splitting Vector into smalller sub-Vectors



"Allan Bruce" <amb@xxxxxxx> schreef in bericht
news:KJ6dne1FloMoCgjfRVnytg@xxxxxxxxxxxx
> Is it possible to efficiently split a large Vector into smaller sub-Vectors
> without iterating through it and adding the Objects to the sub-Vectors? If
> not, is there a collection which allows this? I dont need random access, I
> am just adding blindly to a single collection, then want to split it up at
> the end.

java.util.List#subList(int,int)


.