question: public boolean canReceive ( Gas gas ) { if ( getNeeded ( ) == 0 || stored != null && ( gas != null && gas != stored . getGas ( ) ) ) { return false ; } return true ; }
target:  If this GasTank can receive the specified type of gas. Will return false if this tank does not need anymore gas.