info.magnolia.voting.voters
Class OrVoting
java.lang.Object
info.magnolia.voting.voters.OrVoting
- All Implemented Interfaces:
- Voting
public class OrVoting
- extends Object
- implements Voting
Returns the first positive vote. Negative votes are ignored.
- Author:
- pbracher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OrVoting
public OrVoting()
vote
public int vote(Voter[] voters,
Object value)
- Specified by:
vote
in interface Voting
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.