|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Thing
public class Thing
Thing is the top of a class hierarchy. All Things have a name, given to them at birth. Once born, they cannot change their name. Things have no behavior other than producing their string representation.
Constructor Summary | |
---|---|
Thing(java.lang.String name)
|
Method Summary | |
---|---|
java.lang.String |
toString()
Produce a String description of this instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Thing(java.lang.String name)
name
- -- the given name of this ThingMethod Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |