What to save a few variables?

The question was asked: 6 years 10 months ago   views: 6
1

Writing a parser in java. Need this kind of variables to retain in the sheet or something else.

index, id, (type, x, y, z)

 id1, (type1, x1, y1, z1)

 id2, (type2, x2, y2, z2)

index primary variable, meaning it will go all the treatment options (index 1, id1 - id*)

Asked: STIGMATED STIGMATED 20-01-2012 в 00:17:59

Answers   2

3

(type, x, y, z) wrap it up in a separate class (e.g. Params)and put it in Map<String, Params> (depending what you have there as id)

Answered: Nofate Nofate 20-01-2012 в 00:45:07
0

Whether in the mountains, but it is better as advised Nofare.

Answered: misha-nesterenko misha-nesterenko 20-01-2012 в 03:41:45