Class AssemblyStation

java.lang.Object
All Implemented Interfaces:
java.lang.Comparable<AssemblyStation>

public class AssemblyStation
extends Station
implements java.lang.Comparable<AssemblyStation>
Station implementation for the AssemblyStage.
  • Constructor Details

    • AssemblyStation

      public AssemblyStation​(@NonNull @NonNull AssemblyStage stage)
  • Method Details

    • resetId

      public static void resetId()
    • getProcessingTime

      protected long getProcessingTime()
      Description copied from class: Station
      Gets the processing duration of the Station from a corresponding generator.
      Specified by:
      getProcessingTime in class Station
      Returns:
      Long
    • compareTo

      public int compareTo​(@NonNull @NonNull AssemblyStation station)
      Specified by:
      compareTo in interface java.lang.Comparable<AssemblyStation>