|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.spy.SpyObject
net.spy.stat.Stat
public abstract class Stat
Base class for all stats.
| Constructor Summary | |
|---|---|
Stat()
Get an instance of Stat. |
|
| Method Summary | |
|---|---|
String |
getName()
Get the name of this stat. |
abstract String |
getStat()
Get the current value of this stat as a String. |
void |
setName(String to)
Set the name of this stat. |
String |
toString()
getName()=getStat() |
| Methods inherited from class net.spy.SpyObject |
|---|
getLogger |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Stat()
| Method Detail |
|---|
public String getName()
public void setName(String to)
to - public String toString()
toString in class Objectpublic abstract String getStat()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||