|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.rubecula.darwin.domain.helper.Sink_ com.rubecula.darwin.domain.helper.Census_Sink com.rubecula.darwin.domain.helper.Census_Standard
public final class Census_Standard
Class to provide a default implementation of Census_Sink
Field Summary |
---|
Fields inherited from class com.rubecula.darwin.domain.helper.Sink_ |
---|
LOG |
Fields inherited from interface com.rubecula.darwin.domain.helper.Sink |
---|
NEWLINE |
Constructor Summary | |
---|---|
Census_Standard(java.io.PrintWriter printWriter)
|
Method Summary | |
---|---|
void |
census(Censusible individual,
int depth,
java.lang.Object context)
output individual to print writer. |
Methods inherited from class com.rubecula.darwin.domain.helper.Census_Sink |
---|
append, close, equals, flush, getPrintWriter, hashCode, present, print, println, println |
Methods inherited from class com.rubecula.darwin.domain.helper.Sink_ |
---|
append, append, sinkOrLog |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.lang.Appendable |
---|
append, append |
Constructor Detail |
---|
public Census_Standard(java.io.PrintWriter printWriter)
printWriter
- Method Detail |
---|
public void census(Censusible individual, int depth, java.lang.Object context)
census
in interface Census
census
in class Census_Sink
individual
- the object to be censused.depth
- the number of levels of depth which shall be censused
below this object.context
- an arbitrary object which defines the context in which this
census is happening.Census.census(Censusible, int,
Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |