September Morn Update
This commit is contained in:
parent
4e2d22a71d
commit
aac6731f2c
6856 changed files with 141342 additions and 21127 deletions
|
|
@ -5,9 +5,9 @@ public class Tree<T>{
|
|||
|
||||
public void replaceAll(T value){
|
||||
this.value = value;
|
||||
if(left != null)
|
||||
if (left != null)
|
||||
left.replaceAll(value);
|
||||
if(right != null)
|
||||
if (right != null)
|
||||
right.replaceAll(value);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue