Class Vehicle

All Implemented Interfaces:
Serializable, Commented, ComprehensiveIdentification, Identified<Identification>, Named, Positioned<Place>, Temporal<TimeCoordinate>, Property, Store

public abstract class Vehicle extends Machine implements Store
Represents a machine capable of transporting entities.
Since:
1.0
Version:
1.1
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
See Also:
  • Constructor Details

  • Method Details

    • getContents

      public Set<Object> getContents()
      Description copied from interface: Store
      Returns an unmodifiable view of the contents.
      Specified by:
      getContents in interface Store
      Returns:
      the set of contained resources
    • getIn

      public abstract void getIn()
      Description copied from interface: Store
      Procedure for an entity to enter the store.
      Specified by:
      getIn in interface Store
    • getOut

      public abstract void getOut()
      Description copied from interface: Store
      Procedure for an entity to exit the store.
      Specified by:
      getOut in interface Store