Package ise.mace.inputs

Examples of ise.mace.inputs.Vote


      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}",
View Full Code Here

TOP

Related Classes of ise.mace.inputs.Vote

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.