Skip to content

Instantly share code, notes, and snippets.

@Gideon877
Last active July 24, 2020 13:24
Show Gist options
  • Save Gideon877/6dbf473245cd3ef8d94a1c5b8c7943eb to your computer and use it in GitHub Desktop.
Save Gideon877/6dbf473245cd3ef8d94a1c5b8c7943eb to your computer and use it in GitHub Desktop.
enum Products {
BF(4.0),L(6.0);
}
enum LessonStatus {
STARTED, CANCELLED, ETC;
}
enum Subject {
Accounting(LocalTime.of(12, 0)),..
}
enum Notes implements Subject {
}
interface Cafeteria {
private Map<Person, List<Products>> sales;
void buyItem(Person customer, Products product);
}
Lesson(Teacher teacher, LocalTime time, Subject subject, String title) {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment