fr.jussieu.gla.wasa.samples.party
Class DefaultFleet

java.lang.Object
  |
  +--fr.jussieu.gla.wasa.samples.party.Fleet
        |
        +--fr.jussieu.gla.wasa.samples.party.DefaultFleet

public class DefaultFleet
extends Fleet

Default Fleet, with its 42 very famous boats.

Version:
$Revision: 1.3 $ $Date: 2002/04/17 15:24:08 $
Author:
Florent Selva, Laurent Caillette

Inner classes inherited from class fr.jussieu.gla.wasa.samples.party.Fleet
Fleet.MyBoat
 
Fields inherited from class fr.jussieu.gla.wasa.samples.party.Fleet
boats
 
Constructor Summary
DefaultFleet()
           
 
Method Summary
 int getBoatsCount()
           
 int getCapacity(int boat)
           
 int getCrew(int boat)
           
 boolean isHost(int boat)
           
 void setHost(int boat, boolean isHost)
           
 
Methods inherited from class fr.jussieu.gla.wasa.samples.party.Fleet
createBoat, createBoat, getBoats
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultFleet

public DefaultFleet()
Method Detail

setHost

public void setHost(int boat,
                    boolean isHost)

isHost

public boolean isHost(int boat)

getCapacity

public int getCapacity(int boat)

getCrew

public int getCrew(int boat)

getBoatsCount

public int getBoatsCount()