Did you post this before and then delete the topic? I seem to remember answering this not 5 minutes ago...but I can't find the other topic
Anyway, this sounds like a job for a java.util.Map. Simply store the String bufferName as the key and then the Buffer object as the value. Whenever you get a string, just look up that string in the Map and get the correct Buffer object.
Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.
You're not going crazy. You're going sane in a crazy word. Find comfort in this tiny ad: