Class Ballot

  • All Implemented Interfaces:
    IBallot

    public class Ballot
    extends java.lang.Object
    implements IBallot
    Author:
    Andi Hotz, (c) Sahits GmbH, 2015 Created on Apr 06, 2015
    • Field Detail

      • numberYes

        private int numberYes
      • numberNo

        private int numberNo
    • Method Detail

      • vote

        public void vote​(boolean yes)
        Description copied from interface: IBallot
        Vote for or against something.
        Specified by:
        vote in interface IBallot
        Parameters:
        yes - true if it is an agreable vote