Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
java-training
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rencuicui
java-training
Commits
7d408b1c
Commit
7d408b1c
authored
Nov 01, 2018
by
rencuicui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
70e3e96e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
demo1/src/main/java/cn/freemud/demo/CCDemo.java
+2
-0
No files found.
demo1/src/main/java/cn/freemud/demo/CCDemo.java
View file @
7d408b1c
...
@@ -75,6 +75,8 @@ public class CCDemo {
...
@@ -75,6 +75,8 @@ public class CCDemo {
User
userA
=
new
User
((
long
)
1
,
"xiaoming"
,
20
);
User
userA
=
new
User
((
long
)
1
,
"xiaoming"
,
20
);
User
userB
=
new
User
((
long
)
2
,
"zhangsan"
,
32
);
User
userB
=
new
User
((
long
)
2
,
"zhangsan"
,
32
);
User
userC
=
new
User
((
long
)
3
,
"dfefa"
,
32
);
User
userC
=
new
User
((
long
)
3
,
"dfefa"
,
32
);
linkedList
.
add
(
userA
);
linkedList
.
add
(
userB
)
for
(
Iterator
iter
=
linkedList
.
iterator
();
iter
.
hasNext
();
)
for
(
Iterator
iter
=
linkedList
.
iterator
();
iter
.
hasNext
();
)
System
.
out
.
print
(
JSON
.
toJSON
(
iter
.
next
()));
System
.
out
.
print
(
JSON
.
toJSON
(
iter
.
next
()));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment