madhoriya22
07-13-2007, 01:44 PM
Hi,
In my java program the result of my query is like this:-
PackageName Status Count
Order Selection Group Maintenance--->Fixed--------------->2
Part Maintenance-------------------->Fixed--------------->1
Factore Order Table Maintenance----->TBCI--------------->1
Factore Order Table Maintenance----->Removed----------->2
Factore Order Table Maintenance----->Works For Me------->1
Factore Order Table Maintenance----->On Work Plate------>1
Factore Order Table Maintenance----->Sent For Clarification>1
Factore Order Table Maintenance----->Fixed--------------->2
Product Line Maintenance------------>On Work Plate------->5
Product Line Maintenance------------>Fixed---------------->2
Product Line Maintenance------------>Removed------------->2
Product Line Maintenance------------>Works For Me--------->1
Now I want this packageName and status as a single key and count as value.
I am using HashMap. While retreiving these values back from HashTable...I have to recognise what Package is this and what is the count of different status.......I cant hardcode packageName(bcoz later they will increase) but I can hardcode status.......
Is there any way I can do this........
In my java program the result of my query is like this:-
PackageName Status Count
Order Selection Group Maintenance--->Fixed--------------->2
Part Maintenance-------------------->Fixed--------------->1
Factore Order Table Maintenance----->TBCI--------------->1
Factore Order Table Maintenance----->Removed----------->2
Factore Order Table Maintenance----->Works For Me------->1
Factore Order Table Maintenance----->On Work Plate------>1
Factore Order Table Maintenance----->Sent For Clarification>1
Factore Order Table Maintenance----->Fixed--------------->2
Product Line Maintenance------------>On Work Plate------->5
Product Line Maintenance------------>Fixed---------------->2
Product Line Maintenance------------>Removed------------->2
Product Line Maintenance------------>Works For Me--------->1
Now I want this packageName and status as a single key and count as value.
I am using HashMap. While retreiving these values back from HashTable...I have to recognise what Package is this and what is the count of different status.......I cant hardcode packageName(bcoz later they will increase) but I can hardcode status.......
Is there any way I can do this........