com.acme.spextra
Class AddOns

java.lang.Object
  |
  +--com.acme.spextra.AddOns

public class AddOns
extends java.lang.Object

This class is the new class for add-ons to SuperProduct.


Constructor Summary
AddOns()
          Default constructor.
 
Method Summary
 boolean hyperdrive(int warpSpeed)
          Switch SuperProduct to hyperdrive.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddOns

public AddOns()
Default constructor.
Method Detail

hyperdrive

public boolean hyperdrive(int warpSpeed)
Switch SuperProduct to hyperdrive.
Parameters:
warpSpeed - How fast to go.
Returns:
If successful, return true.