Java - Returning mixed data from a function
<p>I'm not new to programming but I am new to Java. I have an app with a function that needs to return an Integer and a Short value pulled from a database, so I can call the function, then use those two values elsewhere. I've tried a hashmap which I know can do this, but I don't want to iterate anything. It will always be a single "record" found, so one Int, and one Short.</p>

<p>What's the best method for this?</p>
