コード例 #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);
 }