info.magnolia.voting
Class DefaultVoting
java.lang.Object
info.magnolia.voting.DefaultVoting
- All Implemented Interfaces:
- Voting
public class DefaultVoting
- extends Object
- implements Voting
The highest returned vote is taken (8 or -10, ..) and returned. The voting
can return 0 if no voter has anything to say.
- Version:
- $Id$
- Author:
- philipp
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultVoting
public DefaultVoting()
vote
public int vote(Voter[] voters,
Object value)
- Specified by:
vote
in interface Voting
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.