Class PhilosophersCollection
java.lang.Object
demos.edu_projects.concurrency.philosophers.PhilosophersCollection
Verwaltet alle 26 Philosophen, die dargestellt werden können.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PhilosophersCollection
public PhilosophersCollection()
-
-
Method Details
-
select
Wählt zufällig eine bestimme Anzahl an Philosophen aus, sortiert sie nach dem Geburtsjahr und gibt sie als Liste zurück.- Parameters:
count- Die Anzahl an Philosophen.
-