|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.voting.voters.BaseVoterImpl info.magnolia.voting.voters.InverseVoter
public class InverseVoter
Inverses the returned value of the wrapped voter. ( 5 --> -5)
Constructor Summary | |
---|---|
InverseVoter()
|
Method Summary | |
---|---|
Voter |
getVoter()
|
void |
setVoter(Voter vote)
|
int |
vote(java.lang.Object value)
|
Methods inherited from class info.magnolia.voting.voters.BaseVoterImpl |
---|
getName, isEnabled, setEnabled, setName, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InverseVoter()
Method Detail |
---|
public int vote(java.lang.Object value)
public Voter getVoter()
public void setVoter(Voter vote)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |