File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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
Author

Need help in java some implemting logic

satish kinikiri
Greenhorn

Joined: Nov 16, 2010
Posts: 5
Hi,
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
Bartender

Joined: May 03, 2008
Posts: 4530
    
    5

Satish, welcome to the Ranch! Please BeForthrightWhenCrossPostingToOtherSites
http://www.java-forums.org/new-java/34869-need-help-java-some-implemting-logic.html


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

Joined: Sep 08, 2007
Posts: 3068
    
  33

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


Mohamed Sanaulla | My Blog
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38398
    
  23
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: http://aspose.com/file-tools
 
subject: Need help in java some implemting logic