returned list does not affect the original gas pumps at a gas station concode_field_sep double revenue concode_elem_sep ConcurrentMap<GasType,Double> gasPrice concode_elem_sep AtomicInteger numberOfCancelledNoGasSales concode_elem_sep List<LockCapableGasPump> gasPumps concode_elem_sep AtomicInteger numberOfSuccessfulSales concode_elem_sep AtomicInteger numberOfCancelledExpensiveGasSales concode_field_sep double buyGas concode_elem_sep int getNumberOfCancellationsTooExpensive concode_elem_sep void getPumpsWithSuffiecientFuel concode_elem_sep void checkIfGasIsExpensive concode_elem_sep int getNumberOfCancellationsNoGas concode_elem_sep int getNumberOfSales concode_elem_sep void setPrice concode_elem_sep double getRevenue concode_elem_sep double getPrice concode_elem_sep void addGasPump
Collection < GasPump > function ( ) { List < GasPump > loc0 = new ArrayList < GasPump > ( ) ; for ( LockCapableGasPump loc1 : gasPumps ) { loc0 . add ( loc1 . getGasPump ( ) ) ; } return loc0 ; }