Class LeaderElection.ElectionResult

  • Enclosing class:
    LeaderElection

    protected static class LeaderElection.ElectionResult
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ElectionResult()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • vote

        public Vote vote
      • count

        public int count
      • winner

        public Vote winner
      • winningCount

        public int winningCount
      • numValidVotes

        public int numValidVotes
    • Constructor Detail

      • ElectionResult

        protected ElectionResult()