| Modifier and Type | Field and Description |
|---|---|
| protected boolean | |
| protected Node | |
| protected final int | |
| private static final ReentrantReadWriteLock | |
| protected Node | |
| protected Node | |
| protected Node | |
| protected static final ReentrantReadWriteLock. | |
| protected static final ReentrantReadWriteLock. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| protected void | |
| protected void | |
| protected Node | |
| protected void | |
| protected Node | |
| private boolean | |
| private boolean | |
| private boolean | |
| protected Node | |
| private Node |
| exclusive | back to summary |
|---|---|
| protected boolean exclusive | |
| firstChild | back to summary |
|---|---|
| protected Node firstChild | |
| id | back to summary |
|---|---|
| protected final int id | |
| lock | back to summary |
|---|---|
| private static final ReentrantReadWriteLock lock | |
| next | back to summary |
|---|---|
| protected Node next | |
| parent | back to summary |
|---|---|
| protected Node parent | |
| prev | back to summary |
|---|---|
| protected Node prev | |
| readLock | back to summary |
|---|---|
| protected static final ReentrantReadWriteLock. | |
| writeLock | back to summary |
|---|---|
| protected static final ReentrantReadWriteLock. | |
| Node | back to summary |
|---|---|
| protected Node(final int id) | |
| addChild | back to summary |
|---|---|
| protected void addChild(final Node n) Add a child to this | |
| addChild | back to summary |
|---|---|
| protected void addChild(final Node nodeBeingAddedAsChild, final boolean exclusive) Add a new child. If the child is marked as exclusive, any other children will be moved to become the children of this exclusive child. | |
| addSibling | back to summary |
|---|---|
| protected void addSibling(final Node sibling) Add a sibling to this | |
| detach | back to summary |
|---|---|
| protected Node detach(final int id) Detail this | |
| exclusive | back to summary |
|---|---|
| protected void exclusive() Mark this | |
| find | back to summary |
|---|---|
| protected Node find(final int id) Top down search from this | |
| hasSiblings | back to summary |
|---|---|
| private boolean hasSiblings() | |
| isFirstSibling | back to summary |
|---|---|
| private boolean isFirstSibling() | |
| isLastSibling | back to summary |
|---|---|
| private boolean isLastSibling() | |
| remove | back to summary |
|---|---|
| protected Node remove(final int id) Remove this | |
| remove | back to summary |
|---|---|
| private Node remove(final int id, final boolean retainChildren) | |