You could use a HashMap... It allows an object to be in index of another
object...

HashMap h = new HashMap();
//add values to the HashMap...
h.put("Key1", "Value1");
h.put("Key2", "Value2");

//now to get the value pointed to by "Key1"
g.get("Key1"); //will return "Value1"

You can also call a method on the HashMap that will return a Set of keys,
you can then loop through the set.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to