예제 #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);
 }