-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathParty.java
52 lines (43 loc) · 880 Bytes
/
Party.java
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/*
* Party.java
*
* Version:
* $Id$
*
* Revisions:
* $Log: Party.java,v $
* Revision 1.3 2003/02/09 21:21:31 ???
* Added lots of comments
*
* Revision 1.2 2003/01/12 22:23:32 ???
* *** empty log message ***
*
* Revision 1.1 2003/01/12 19:09:12 ???
* Adding Party, Lane, Bowler, and Alley.
*
*/
/**
* Container that holds bowlers
*
*/
import java.util.*;
public class Party {
/** Vector of bowlers in this party */
private Vector<Bowler> myBowlers;
/**
* Constructor for a Party
*
* @param bowlers Vector of bowlers that are in this party
*/
public Party( Vector<Bowler> bowlers ) {
myBowlers = new Vector<Bowler>(bowlers);
}
/**
* Accessor for members in this party
*
* @return A vector of the bowlers in this party
*/
public Vector<Bowler> getMembers() {
return myBowlers;
}
}