Disconnect box 'b' to this box. b is now no longer child of this box, this box is now no longer parent of 'b'
(Box b)
| 140 | |
| 141 | /** |
| 142 | * Disconnect box 'b' to this box. b is now no longer child of this box, this box is now no longer parent of 'b' |
| 143 | */ |
| 144 | public Box disconnect(Box b) { |
| 145 | children.remove(b); |
| 146 | b.parents.remove(this); |
| 147 | |
| 148 | all.remove(b); |
| 149 | b.all.remove(this); |
| 150 | |
| 151 | return this; |
| 152 | } |
| 153 |
no test coverage detected