aspose file tools
The moose likes Beginning Java and the fly likes Need help in java some implemting logic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Need help in java some implemting logic" Watch "Need help in java some implemting logic" New topic

Need help in java some implemting logic

satish kinikiri

Joined: Nov 16, 2010
Posts: 5
I have a list of list as shown below :

FS1[[T1, 5][T2, 5]]
FS2[[T1, 7][T2, 7]]

I need the sum of FS's
FS2[[T1, 12][T2, 12]]

More details.....

resultFS should be FS2[[T1, 12][T2, 12]]
Darryl Burke

Joined: May 03, 2008
Posts: 4806

Satish, welcome to the Ranch! Please BeForthrightWhenCrossPostingToOtherSites

luck, db
There are no new questions, but there may be new answers.
Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3121

You can have an List of Lists. And nested loops to find the sum

Mohamed Sanaulla | My Blog
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 41531
Please use the code button; I have edited your post and you can see how much better it looks. Your code is difficult to understand without code tags, and not much easier with code tags.
I agree. Here's the link:
subject: Need help in java some implemting logic