From 289395c5957b8dcff698c80b1cc866cf31139a24 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Fri, 9 Feb 2018 19:33:14 +0100 Subject: [PATCH] Code cleanups. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- Arbres/ArbreBinaire.java | 46 ++++++++++++++++++++-------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/Arbres/ArbreBinaire.java b/Arbres/ArbreBinaire.java index 8f79d28..c4d84fb 100644 --- a/Arbres/ArbreBinaire.java +++ b/Arbres/ArbreBinaire.java @@ -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(); } } -- 2.34.1