public static class Poll.PollResult
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
java.lang.String |
answer |
cardinal order number of the option chosen by this user in the poll
|
java.lang.String |
ip |
the user name of the user who has voted
|
java.lang.String |
user |
The user name of the user who has voted
|
| Constructor | Description |
|---|---|
PollResult(java.lang.String usr,
java.lang.String ipaddr,
java.lang.String ans) |
Create a poll result object denoting the vote of
a particular user for a particular poll option.
|
public java.lang.String user
public java.lang.String ip
public java.lang.String answer
public PollResult(java.lang.String usr,
java.lang.String ipaddr,
java.lang.String ans)
usr - user name of the user who has votedipaddr - user name of the user who has votedans - cardinal order number of the option chosen by this user in the poll