return;
}
if (input.getClass().equals(Vote.class))
{
final Vote v = (Vote)input;
if (!voteResult.containsKey(v.getProposition()))
{
if (!v.getProposition().getOwnerGroup().equals(getId())) return;
voteResult.put(v.getProposition(), 0);
}
voteResult.put(v.getProposition(),
voteResult.get(v.getProposition()) + v.getVote().getValue());
logger.log(Level.FINE,
"Agent {0} has voted {1} on {2} by {3} as a member of {4}",
new Object[]
{
ec.nameof(v.getAgent()),
v.getVote(), v.getProposition().getType(),
ec.nameof(v.getProposition().getProposer()), dm.getName()
});
return;
}
logger.log(Level.SEVERE, "Group Unable to handle Input of type {0}",