Interface IBallot

  • All Known Implementing Classes:
    Ballot

    public interface IBallot
    Author:
    Andi Hotz, (c) Sahits GmbH, 2015 Created on Apr 06, 2015
    • Method Detail

      • vote

        void vote​(boolean yes)
        Vote for or against something.
        Parameters:
        yes - true if it is an agreable vote
      • getNumberYes

        int getNumberYes()
        Total number of positive votes.
        Returns:
        number of positive votes.
      • getNumberNo

        int getNumberNo()
        Retrieve number of negative votes
        Returns:
        total number of negative votes.