|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectSpace
Utility
public class Utility
| Field Summary | |
|---|---|
protected int |
myCost
|
protected int[] |
myRentTimes
|
| Fields inherited from class Space |
|---|
mortgaged, myColor, myName, myOwner, mySpace, myType |
| Constructor Summary | |
|---|---|
Utility()
|
|
Utility(java.lang.String name,
int cost,
int[] rent)
|
|
| Method Summary | |
|---|---|
int |
getCost()
|
int |
getRentTimes(int x)
|
| Methods inherited from class Space |
|---|
equals, getColor, getMortgaged, getName, getOwner, getType, setMortgaged, setOwner |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int myCost
protected int[] myRentTimes
| Constructor Detail |
|---|
public Utility()
public Utility(java.lang.String name,
int cost,
int[] rent)
| Method Detail |
|---|
public int getCost()
public int getRentTimes(int x)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||