Class Pump


public class Pump extends BoilerComponent
The Pump models a pump that is used to pump water from the Boiler to its destination.
  • Constructor Details

    • Pump

      public Pump(String name)
      Constructs a Pump with a given name.
      Parameters:
      name - the name of the pump