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 Summary

      Constructors 
      Constructor Description
      Pump​(java.lang.String name)
      Constructs a Pump with a given name.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Pump

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