info.magnolia.voting.voters
Class NotVoter<T>
java.lang.Object
info.magnolia.voting.voters.BaseVoterImpl<T>
info.magnolia.voting.voters.AbstractBoolVoter<T>
info.magnolia.voting.voters.NotVoter<T>
- Type Parameters:
T
- the type of object passed to vote
- All Implemented Interfaces:
- Voter<T>
public class NotVoter<T>
- extends AbstractBoolVoter<T>
Does invert the boolean outcome of a voter. This is not the same thing as
inverting the value (see InverseVoter
)
NotVoter
public NotVoter()
boolVote
protected boolean boolVote(T value)
- Specified by:
boolVote
in class AbstractBoolVoter<T>
getVoter
public AbstractBoolVoter<T> getVoter()
setVoter
public void setVoter(AbstractBoolVoter<T> voter)
Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.