T
- the type of object passed to votepublic class VoterSet<T> extends BaseVoterImpl<T>
Constructor and Description |
---|
VoterSet() |
Modifier and Type | Method and Description |
---|---|
void |
addVoter(Voter<T> voter) |
int |
getLevel() |
String |
getOp() |
Voter<T>[] |
getVoters() |
Voting<T> |
getVoting() |
boolean |
isNot() |
void |
setLevel(int level) |
void |
setNot(boolean not) |
void |
setOp(String op) |
void |
setVoters(Voter<T>[] voters) |
void |
setVoting(Voting<T> voting) |
String |
toString() |
int |
vote(T value) |
getName, isEnabled, setEnabled, setName
public int vote(T value)
public boolean isNot()
public void setNot(boolean not)
public int getLevel()
public void setLevel(int level)
public String toString()
toString
in class BaseVoterImpl<T>
public String getOp()
public void setOp(String op)
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.