-
public final class PollsStore.VotesSnapshotA snapshot of vote details for an answer.
-
-
Method Summary
Modifier and Type Method Description final BooleangetMeVoted()Whether or not the current user has voted on this answer. final BooleangetIsIncomplete()Whether or not voters is incomplete. final IntegergetCount()Total vote count. final SortedSet<Long>getVoters()A (lazy) set of voter user IDs. final BooleangetHasFailed()If the previous fetch request has failed. final BooleangetIsLoading()Whether or not there is an ongoing fetch request. -
-
Method Detail
-
getMeVoted
final Boolean getMeVoted()
Whether or not the current user has voted on this answer.
-
getIsIncomplete
final Boolean getIsIncomplete()
Whether or not voters is incomplete.
-
getVoters
final SortedSet<Long> getVoters()
A (lazy) set of voter user IDs. Count may be different from count, call fetchDetails to fetch more.
-
getHasFailed
final Boolean getHasFailed()
If the previous fetch request has failed.
-
getIsLoading
final Boolean getIsLoading()
Whether or not there is an ongoing fetch request.
-
-
-
-