Ejemplo n.º 1
0
 public Float getSumDevis(Collection<CommandesEntity> commandesEntityCollection) {
   Float res = 0.f;
   for (CommandesEntity commandesEntity : commandesEntityCollection) {
     res += commandesEntity.getCommandDevis();
   }
   return res;
 }
Ejemplo n.º 2
0
 public Float getResult(CommandesEntity commandesEntity) {
   return commandesEntity.getCommandDevis() - this.getRealCost(commandesEntity);
 }