This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 4447
    
    5

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


Junilu - [How to Ask Questions] [How to Answer Questions]
 
Don't get me started about those stupid light bulbs.
 
subject: Review code for optimization and implementation and OO
 
Similar Threads
Wanted: Java2D example of zooming and panning with scroll bars
Graph problem
JTabbedPane Not Showing Line Numbers
Null pointer exception trouble
null pointer exception