simple question: how to pull out some info from an object in Java
<p>I'm working in java, and I have a method that returns a pair, ie. (String, integer). At a different point in the program, I want to pull out the String alone. How do I do that? </p>

<p>Thanks.</p>
