-
Notifications
You must be signed in to change notification settings - Fork 153
Expand file tree
/
Copy pathShow.java
More file actions
31 lines (27 loc) · 849 Bytes
/
Show.java
File metadata and controls
31 lines (27 loc) · 849 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*******************************************************************************
* Companion code for the book "Introduction to Software Design with Java"
* by Martin P. Robillard.
*
* Copyright (C) 2026 by Martin P. Robillard
*
* This code is licensed under a Creative Commons
* Attribution-NonCommercial-NoDerivatives 4.0 International License.
*
* See http://creativecommons.org/licenses/by-nc-nd/4.0/
*******************************************************************************/
package chapter6;
/**
* Represents a performance that can take place in a theater. All
* implementations of this interface should be immutable.
*/
public interface Show {
/**
* @return A description of the show.
*/
String description();
/**
* @return The running time of the show, in minutes.
*/
int runningTime();
Show copy();
}