Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5915e29

Browse files
+
1 parent 3d2e8f7 commit 5915e29

File tree

7 files changed

+13
-76
lines changed

7 files changed

+13
-76
lines changed

‎BinaryTreePrinter/.classpath‎

Lines changed: 0 additions & 6 deletions
This file was deleted.

‎BinaryTreePrinter/.project‎

Lines changed: 0 additions & 17 deletions
This file was deleted.

‎BinaryTreePrinter/.settings/org.eclipse.jdt.core.prefs‎

Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<module type="JAVA_MODULE" version="4">
3+
<component name="NewModuleRootManager" inherit-compiler-output="true">
4+
<exclude-output />
5+
<content url="file://$MODULE_DIR$">
6+
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
7+
</content>
8+
<orderEntry type="inheritedJdk" />
9+
<orderEntry type="sourceFolder" forTests="false" />
10+
</component>
11+
</module>

‎BinaryTreePrinter/src/com/mj/example/Main.java‎

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ public class Main {
1212

1313
public static void main(String[] args) {
1414
tree1();
15-
tree2();
16-
tree3();
15+
// tree2();
1716
}
1817

1918
static void tree1() {
@@ -101,11 +100,6 @@ public Object string(Object node) {
101100
System.out.println(LINE);
102101
BinaryTrees.println(info2, PrintStyle.INORDER);
103102
}
104-
105-
static void tree3() {
106-
// String string = BinaryTrees.printString(bsts.get(0));
107-
// Files.writeToFile("F:/a/b/c/1.txt", string);
108-
}
109103

110104
static final String LINE = "----------------------------------";
111105
static List<BinarySearchTree<Integer>> bsts = new ArrayList<>();

‎BinaryTreePrinter/src/com/mj/file/Files.java‎

Lines changed: 0 additions & 34 deletions
This file was deleted.

‎BinaryTreePrinter/src/com/mj/printer/LevelOrderPrinter.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class LevelOrderPrinter extends Printer {
3434

3535
public LevelOrderPrinter(BinaryTreeInfo tree) {
3636
super(tree);
37-
37+
3838
root = new Node(tree.root(), tree);
3939
maxWidth = root.width;
4040
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /