java.lang.Object
demos.edu_projects.concurrency.philosophers.Seat

public class Seat extends Object
Ein Sitzplatz am Tisch.

Der Sitzplatz hat eine Sitzplatznummer und ihm wird ein Philosoph zugeordnet.

  • Constructor Details

    • Seat

      public Seat(Table table, int no, demos.edu_projects.concurrency.philosophers.Philosopher philosopher)
  • Method Details

    • rotation

      public double rotation()
      Die Rotation, in der der Sitz vom Tisch-Zentrum und der x-Achse gedreht ist.
    • philosopherImage

      @Getter public PhilosopherImage philosopherImage()
    • table

      @Getter public Table table()