how to get values of my poll object?
<p>I have my HashMap,</p>

<pre><code>private final HashMap&lt;Integer, Poll&gt; pollmap = new HashMap&lt;Integer, Poll&gt;();
</code></pre>

<p>and my constructor is:</p>

<pre><code>Poll(int id, String pollName, String question, String pollAnswerOptions[], boolean active)
</code></pre>

<p>How do I get the extract the Poll values such as pollname, question, etc FROM the pollmap hashmap?</p>
