aspose file tools*
The moose likes OO, Patterns, UML and Refactoring and the fly likes Review code for optimization and implementation and OO Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Review code for optimization and implementation and OO " Watch "Review code for optimization and implementation and OO " New topic
Author

Review code for optimization and implementation and OO

vinay basavanal
Greenhorn

Joined: Dec 08, 2012
Posts: 8
The below code does Read csv files and process it to do some sort of cacluations.This is more of small picture code , to introduce big picture. The csv file contains information of seeds of crop which have some information in number depending upon the numbers the calcuation have to be done.There are different types of calucations based on traits types. The csv file will contains hybrid numbers followed by the traits . I have recorded observations for 6 traits, now at first i will read traits used in the applicaitons some traits may have 2 ,3 or n enteries.This is stored in db so i will pull inforamtion from there , once i read traits then i will read each hybrid number and trait values once i read trait values of particular trait i will either avgerage or do some more processing for som e trait the value depends on other triats.

Please have a look at it and let me know if it has to be improveed from design/implementation point of view.





I have even entered values for TLSSG01 TLSSG02 TLSSG03 but they are not visible ,

Below is the Code:




Does this look like OO code
Junilu Lacar
Bartender

Joined: Feb 26, 2001
Posts: 5018
    
    8

Given that you have only static methods, no, this is not OO code.


Junilu - [How to Ask Questions] [How to Answer Questions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Review code for optimization and implementation and OO