I have a problem ; I have some data and I show it with Hashtable
for example I write :
Enumeration keys;
keys=CellTraffic_v.elements();
while(keys.hasMoreElements())
outputBuffer.append(keys.nextElement()+"\n\n");
but it show me just values how can i show values and keys together?
for example this
if my key be “A”
and my value be “B” show me this :
A B
Thanks …
You have the key right? Use the key to get the value out of the map, and you have all the mappings. For example in Java with String as type for key:
.