org.apache.commons.net.nntp

## Class NntpThreadContainer

- java.lang.Object
- - org.apache.commons.net.nntp.NntpThreadContainer

-     final class NntpThreadContainer
      extends Object

  A 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 and Description
    --- | ---
    `(package private) NntpThreadContainer` | `child`
    `(package private) NntpThreadContainer` | `next`
    `(package private) NntpThreadContainer` | `parent`
    `(package private) Threadable` | `threadable`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `NntpThreadContainer()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `(package private) boolean` | `findChild(NntpThreadContainer target)`
    `(package private) void` | `flush()`
    `(package private) void` | `reverseChildren()` Reverse the entire set of children

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### child

          NntpThreadContainer child

    - #### next

          NntpThreadContainer next

    - #### parent

          NntpThreadContainer parent

    - #### threadable

          Threadable threadable

  - ### Constructor Detail

    - #### NntpThreadContainer

          NntpThreadContainer()

  - ### Method Detail

    - #### findChild

          boolean findChild(NntpThreadContainer target)

      Parameters:
        `target` -
      Returns:
        true if child is under self's tree. Detects circular references

    - #### flush

          void flush()

    - #### reverseChildren

          void reverseChildren()

      Reverse the entire set of children