Needed to batch up the contents of a list into groups of 4 today. Spent a little more time than I would have liked on it, but I think it's a pretty neat bit of code now, and I actually got to use java.util.concurrent.CopyOnWriteArrayList for the first time.
The result of running this:
Top level list 1 contains:
1
2
3
4
Top level list 2 contains:
5
6
7
8
Top level list 3 contains:
9
Subscribe to:
Post Comments (Atom)
Popular Posts
-
I have recently been slacking on content on my blog, between long stressful hours at work and to the wonderful toy that is an iPhone, I have...
-
I make no claim to be a "computer scientist" or a software "engineer", those titles alone can spark some debate, I regar...
-
I saw an article (well more of a rant) the other day, by Rob Williams Brain Drain in enterprise Dev . I have to say, I do agree with some o...
-
This series of posts will be about me getting to grips with JBoss Drools . The reasoning behind it is: SAP bought out my company's curre...
-
Update: Check out my updated re-certification on the new 2019 exam... here Let me start by saying, for this certification I studied and...
https://www.omgab.com 우리카지노사이트
ReplyDeletehttps://www.omgab.com/theking 더킹카지노
https://www.omgab.com/sands 샌즈카지노
https://www.omgab.com/first 퍼스트카지노
https://www.omgab.com/yes 예스카지노
https://www.omgab.com/super 슈퍼카지노
https://www.omgab.com/gatsby 개츠비카지노
https://www.omgab.com/33 33카지노
https://www.omgab.com/world 월드카지노
https://www.omgab.com/merit 메리트카지노
Đặt vé máy bay tại Aivivu, tham khảo
ReplyDeletegiá vé máy bay đi Mỹ khứ hồi
lịch bay mỹ về việt nam
tình hình vé máy bay từ nhật về việt nam
vé máy bay từ đức về việt nam giá rẻ
vé máy bay từ Toronto về việt nam
mua vé máy bay từ hàn quốc về việt nam
Chi phí cho chuyên gia nước ngoài