public final class CountSource1 extends Object implements CountSource
Constructor and Description |
---|
CountSource1(VoteServer.Run _vsRun)
Constructs a CountSource1.
|
Modifier and Type | Method and Description |
---|---|
Count |
count(String pollName)
Returns the count for the specified poll, or null if there is none.
|
VoteServer.Run |
vsRun()
The ultimate source of the count.
|
public CountSource1(VoteServer.Run _vsRun)
vsRun()
public final VoteServer.Run vsRun()
public Count count(String pollName)
CountSource
count
in interface CountSource
IllegalArgumentException
- if a count was previously requested by this
method under a different poll name.