info.magnolia.voting.voters
Class InverseVoter
java.lang.Object
info.magnolia.voting.voters.BaseVoterImpl
info.magnolia.voting.voters.InverseVoter
- All Implemented Interfaces:
- Voter
public class InverseVoter
- extends BaseVoterImpl
Inverses the returned value of the wrapped voter. ( 5 --> -5)
- Author:
- pbracher
InverseVoter
public InverseVoter()
vote
public int vote(Object value)
getVoter
public Voter getVoter()
setVoter
public void setVoter(Voter vote)
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.