|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fr.jussieu.gla.wasa.samples.party.Fleet
Holds a collection of Fleet.MyBoat
s.
Inner Class Summary | |
protected static class |
Fleet.MyBoat
Extends a Boat for the needs of the party. |
Field Summary | |
protected java.util.ArrayList |
boats
|
Constructor Summary | |
Fleet()
|
Method Summary | |
Boat |
createBoat(int capacity,
int crew)
|
Boat |
createBoat(int capacity,
int crew,
boolean host)
|
Boat[] |
getBoats()
Returns a Boat array with no host boat first. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected final java.util.ArrayList boats
Constructor Detail |
public Fleet()
Method Detail |
public Boat createBoat(int capacity, int crew, boolean host)
public Boat createBoat(int capacity, int crew)
public Boat[] getBoats()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |