public abstract class PlanStep extends Object implements Cloneable
Contact: Don Brutzman (web.nps.navy.mil/~brutzman) brutzman@nps.navy.mil
| Modifier and Type | Field and Description |
|---|---|
String |
name
String value or description of what the plan step entails
|
| Constructor and Description |
|---|
PlanStep(PlanStep step)
Copy constructor
|
PlanStep(String name)
Creates a new instance of PlanStep
|
| Modifier and Type | Method and Description |
|---|---|
abstract Object |
clone()
Returns a deep copy of the plan step, implements Cloneable
|
abstract double |
cost()
Returns the "cost" of executing this individual step
|
String |
toString()
Returns a string value for the step
|
public String name
public PlanStep(String name)
name - String value or description of what the plan step entailspublic PlanStep(PlanStep step)
step - PlanStep objectpublic abstract double cost()
public abstract Object clone()