Package org.apache.commons.net.nntp
Class ThreadContainer
- java.lang.Object
-
- org.apache.commons.net.nntp.ThreadContainer
-
class ThreadContainer extends java.lang.ObjectA placeholder utility class, used for constructing a tree of Threadables Original implementation by Jamie Zawinski. See the Grendel source for more details here Threadable objects
-
-
Field Summary
Fields Modifier and Type Field Description (package private) ThreadContainerchild(package private) ThreadContainernext(package private) ThreadContainerparent(package private) Threadablethreadable
-
Constructor Summary
Constructors Constructor Description ThreadContainer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) booleanfindChild(ThreadContainer target)(package private) voidflush()(package private) voidreverseChildren()Reverse the entire set of children
-
-
-
Field Detail
-
threadable
Threadable threadable
-
parent
ThreadContainer parent
-
next
ThreadContainer next
-
child
ThreadContainer child
-
-
Method Detail
-
findChild
boolean findChild(ThreadContainer target)
- Parameters:
container-- Returns:
- true if child is under self's tree. Detects circular references
-
flush
void flush()
-
reverseChildren
void reverseChildren()
Reverse the entire set of children
-
-