outlook temperature humidity windy play
sunny 85 85 FALSE no
sunny 80 90 TRUE no
overcast 83 86 FALSE yes
rainy 70 96 FALSE yes
rainy 68 80 FALSE yes
I want to use String Tokenizer becuase I want to separate the different elements and its values to process it. For example, I would like to retrive the values from outlook (sunny,sunny,overcast,rainy,rainy) to process it. The same applies with temperature, humidity and so on.
If you get the values in same order, I would rather make a bean class
with field for each item and hold it.
List can be used to hold all the beans, and you can iterate through the list to get data you want.