FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
algorithm/BlockingQueue/src/Consumer.java at master · wodgithub/algorithm · GitHub
wodgithub
algorithm
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
algorithm
/
BlockingQueue
/
src
/
Consumer.java
Copy path
More file actions
More file actions
Latest commit
History
History
History
16 lines (11 loc) · 326 Bytes
Breadcrumbs
algorithm
/
BlockingQueue
/
src
/
Consumer.java
Copy path
File metadata and controls
16 lines (11 loc) · 326 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
public
class
Consumer
implements
Runnable
{
protected
BlockingQueue
queue
;
public
Consumer
(
BlockingQueue
queue
) {
this
.
queue
=
queue
;
}
public
void
run
() {
System
.
out
.
println
(
queue
.
dequeue
());
System
.
out
.
println
(
queue
.
dequeue
());
System
.
out
.
println
(
queue
.
dequeue
());
}
}
Back
|
FazBrowse Home
|
New Git URL