public class Vote extends Object
| Constructor and Description |
|---|
Vote(double value,
double weight,
String votingID)
Constructeur
|
| Modifier and Type | Method and Description |
|---|---|
double |
getValue()
getValue : Renvoie la valeur du vote
|
String |
getVotingID()
getVotingID : Renvoie l'identifiant du votant
|
double |
getWeight()
getWeight : Renvoie le poids du vote
|
public Vote(double value,
double weight,
String votingID)
value - : valeur du vote connue pour le choixweight - : poids du votevotingID - : identifiant du votantpublic double getValue()
public double getWeight()
public String getVotingID()
Copyright © 2009-2012 CodeLutin. All Rights Reserved.