Пример #1
0
 public Float getSumDevis(Collection<CommandesEntity> commandesEntityCollection) {
   Float res = 0.f;
   for (CommandesEntity commandesEntity : commandesEntityCollection) {
     res += commandesEntity.getCommandDevis();
   }
   return res;
 }
Пример #2
0
 public Float getResult(CommandesEntity commandesEntity) {
   return commandesEntity.getCommandDevis() - this.getRealCost(commandesEntity);
 }