info.magnolia.voting
Interface Voting<T>
- Type Parameters:
T
- the type of object passed to voters
- All Known Implementing Classes:
- AndVoting, DefaultVoting, OrVoting
public interface Voting<T>
Contract for decision maker (i.e. class executing set of voters and providing combined output).
AND
static final Voting AND
OR
static final Voting OR
HIGHEST_LEVEL
static final Voting HIGHEST_LEVEL
vote
int vote(Voter<T>[] voters,
T value)
Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.