📄 expectedoutputbtreefileuos.txt
字号:
BasicDictUos Demo for BtreeFileUos
Inserting... 23
Inserting... 1
Inserting... 4
Inserting... 18
Inserting... 2
Inserting... 102
Inserting... -50
current contents:
Data File Name: Data.txt
Contents:
-50 -50
1 1
2 2
4 4
18 18
23 23
102 102
Inserting... 3
Inserting... 54
Inserting... 12
Inserting... -18
Inserting... 32
Current contents:
Data File Name: Data.txt
Contents:
-50 -50
-18 18
-12 -12
1 1
2 2
3 3
4 4
18 18
23 23
32 32
54 54
102 102
is it empty? false
Is it full? false
Has 3? true
Deleting 3
Has 3? false
Current contents:
Data File Name: Data.txt
Contents:
-50 -50
-18 18
-12 -12
1 1
2 2
4 4
18 18
23 23
32 32
54 54
102 102
has 99? false
Is it full? false
Deleting 32
Deleting -18
Deleting -12
Deleting 54
Deleting -50
Deleting 102
Deleting 2
Deleting 18
Deleting 4
Deleting 1
Deleting 23
Wipe out
is it empty? true
Inserting.. 23
Obtain 23: 23
Deleting 23
is it empty? true
that's it
PKeyedDictUos Demo forBtreeFileUos
Inserting... 23
Inserting... 1
Inserting... 4
Inserting... 23
Inserting... 18
Inserting... 2
Inserting... 23
Inserting... 102
Inserting... 23
Current contents:
Data File Name: Data.txt
Contents:
1 1
2 2
4 4
5 23
6 23
7 23
18 18
23 23
102 102
Frequency of 23? 1
Deleting 23
Frequency of 23? 0
Go first
Delete Item
Insert 32
iterate through the list:
2 4 23 23 23 18 23 102
Search for 2: 2
Current contents:
Data File Name: Data.txt
Contents:
2 2
4 4
5 23
6 23
7 23
18 18
32 23
102 102
iterate through the list and delete everything:
Current contents:
Data File Name: Data.txt
Contents:
Wipe out
is it empty? true
Inserting.. 23
Current contents:
Data File Name: Data.txt
Contents:
23 23
Frequency of 23? 1
Frequency of 9999? 0
Deleting 23
is it empty? true
that's it
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -