Code cleanups.
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Fri, 9 Feb 2018 18:33:14 +0000 (19:33 +0100)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Fri, 9 Feb 2018 18:33:14 +0000 (19:33 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Arbres/ArbreBinaire.java

index 8f79d28c48379d5f5aafab9d322f14b8a166b713..c4d84fb2b1a058c70528919717e086723dfe19fe 100644 (file)
@@ -164,37 +164,37 @@ public class ArbreBinaire {
     }
 
     public static void main(String[] args) {
-        ArbreBinaire Btree = new ArbreBinaire();
+        ArbreBinaire bTree = new ArbreBinaire();
 
-        Btree.inserer(2);
-        Btree.inserer(6);
-        Btree.inserer(4);
-        Btree.inserer(5);
-        Btree.inserer(1);
-        Btree.inserer(0);
+        bTree.inserer(2);
+        bTree.inserer(6);
+        bTree.inserer(4);
+        bTree.inserer(5);
+        bTree.inserer(1);
+        bTree.inserer(0);
 
-        Btree.afficher();
-        Btree.afficher_arbre();
+        bTree.afficher();
+        bTree.afficher_arbre();
 
-        Btree.supprimer(4);
+        bTree.supprimer(4);
 
-        Btree.afficher();
-        Btree.afficher_arbre();
+        bTree.afficher();
+        bTree.afficher_arbre();
 
-        Btree.supprimer(6);
+        bTree.supprimer(6);
 
-        Btree.afficher();
-        Btree.afficher_arbre();
+        bTree.afficher();
+        bTree.afficher_arbre();
 
-        Btree.inserer(2);
-        Btree.inserer(7);
-        Btree.inserer(3);
-        Btree.inserer(9);
-        Btree.inserer(11);
-        Btree.inserer(10);
+        bTree.inserer(2);
+        bTree.inserer(7);
+        bTree.inserer(3);
+        bTree.inserer(9);
+        bTree.inserer(11);
+        bTree.inserer(10);
 
-        Btree.afficher();
-        Btree.afficher_arbre();
+        bTree.afficher();
+        bTree.afficher_arbre();
     }
 
 }