📄 expectedoutputbilinkedlistuos.txt
字号:
Testing the Simple List Properties
Inserting.... 1
Inserting.... 3
Inserting.... 23
Inserting.... 63
Inserting.... -35
Inserting.... 90
Inserting.... 23
Inserting.... 89
Inserting.... -23
Inserting.... 5
Current Contents: 5 -23 89 23 90 -35 63 23 3 1
Is Empty? false
Is Full? false
First Item is: 5
Deleting First Item
Deleting First Item
Current Contents: 89 23 90 -35 63 23 3 1
Is Full? false
WipeOut
Current Contents:
Is Empty? true
Is Full? false
Inserting.... 23
Current Contents: 23
Is Empty? false
Is Full? false
Deleting First Item
Current Contents:
Is Empty? true
Testing the Basic List Properties
Inserting.... "r"
Inserting.... "p"
Inserting.... "d"
Inserting.... "c"
Inserting.... "x"
Inserting.... "e"
Current Contents: e x c d p r
Setting the first item to "l"
Current Contents: l x c d p r
first: l
Inserting...."z"
first: z
first: z
z
d
p
r
list: z d p r
Inserting.... "h"
Inserting.... "f"
Inserting.... "a"
list2: a f h z d p r
list2 after setFirstRemainder: a z d p r
list2's firstRemainder: z d p r
clone of list2: a z d p r
Testing methods of LinkedLastListUos
Inserting.... a
Inserting.... h
Inserting.... i
Inserting.... k
Inserting.... r
Inserting.... b
current contents: a h i k r b
first item: a
l item: b
Setting l item to.... a
Setting first item to.... g
current contents: g h i k r a
clone: g h i k r a
Deleting First
Deleting First
Deleting Fist
clone: k r a
Deleting First
list: h i k r a
hikra
clone after first remainder: k h i k r a
first remainder: h i k r a
Testing methods of LinkedListUos
Inserting.... a
Go first
Inserting.... r
Inserting.... p
Inserting.... d
Inserting.... c
Inserting.... x
Inserting.... e
Go Forth
list: x e c d a p r h i k r a
Delete first
Delete first
Go First
Delete current item
New list
Inserting.... h
Insertgo f
Insertgo a
Insertgo a
Insertgo a
list2: a a a f h
Go First
Go Forth
Delete current item
Go Forth
list2: a a f h
setremaineder list
l2 after setRemainder: a a f d a p r h i k r a
remainder: d a p r h i k r a
Inserting.... z
Inserting....
list2: a a z d a p r h i k r a
Testing methods of BilinkedListUos
Inserting..... a
Inserting..... b
Inserting..... c
Inserting..... d
Inserting..... e
Inserting..... f
a
Inserting..... n
Current Contents: f e d c b a d a p r h i k r a n
r
k
The list iterated through backwards
a
r
i
h
r
p
a
d
a
b
c
d
e
f
Current Contents:
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -