I have my HashMap,
private final HashMap<Integer, Poll> pollmap = new HashMap<Integer, Poll>();
and my constructor is:
Poll(int id, String pollName, String question, String pollAnswerOptions[], boolean active)
How do I get the extract the Poll values such as pollname, question, etc FROM the pollmap hashmap?
Then use whatever methods on the
Pollobject available to you to extract the values, e.g.,and so on.