|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object logging.LogElement testApplication.TestLogElement
public class TestLogElement
This class provides an example for using logging.LogElement. The super class has been extended by member value and corresponding get method. The standard constructor has been overwritten and a new one has been introduced.
LogElement
Constructor Summary | |
---|---|
TestLogElement()
Standard constructor. |
|
TestLogElement(int step,
java.lang.String description,
long value)
Extended constructor. |
Method Summary | |
---|---|
long |
getValue()
Returns the log element's sum up value. |
Methods inherited from class logging.LogElement |
---|
getDescription, getStep, setDescription, setStep |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestLogElement()
public TestLogElement(int step, java.lang.String description, long value)
step
- the log element's step numberdescription
- the log element's step descriptionvalue
- the log element's sum up valueMethod Detail |
---|
public long getValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |