info.magnolia.voting.voters
Class AndVoting
java.lang.Object
info.magnolia.voting.voters.AndVoting
- All Implemented Interfaces:
- Voting
public class AndVoting
- extends Object
- implements Voting
Return the maximum vote but only if all voters voted positive.
- Author:
- pbracher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AndVoting
public AndVoting()
vote
public int vote(Voter[] voters,
Object value)
- Specified by:
vote
in interface Voting
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.