Advertisement
JeffGrigg

ThreadedStringBufferTest multi-threaded output 1

Sep 3rd, 2017
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.79 KB | None | 0 0
  1. $ java ...ThreadedStringBufferTest
  2. Final Result:
  3. Hello World!Hello World! For my friend Able For my friend Ed in particular. in particular. This is message # This is message #11..
  4.  
  5. Hello World!Hello World! For my friend For my friend AbleEd in particular. in particular. This is message # This is message #22..
  6.  
  7. Hello World!Hello World! For my friend For my friend AbleEd in particular. in particular. This is message # This is message #3.
  8. Hello World! For my friend Able in particular. This is message #43..
  9.  
  10. Hello World!Hello World! For my friend For my friend AbleEd in particular. in particular. This is message # This is message #54..
  11.  
  12. Hello World! For my friend Ed in particular. This is message #5.
  13. Hello World! For my friend Bob in particular. This is message #1.
  14. Hello World! For my friend Bob in particular. This is message #2.
  15. Hello World! For my friend Bob in particular. This is message #3.
  16. Hello World! For my friend Bob in particular. This is message #4.
  17. Hello World! For my friend Bob in particular. This is message #5.
  18. Hello World! For my friend Don in particular. This is message #1.
  19. Hello World! For my friend Don in particular. This is message #2.
  20. Hello World! For my friend Don in particular. This is message #3.
  21. Hello World! For my friend Don in particular. This is message #4.
  22. Hello World! For my friend Don in particular. This is message #5.
  23. Hello World! For my friend Chris in particular. This is message #1.
  24. Hello World! For my friend Chris in particular. This is message #2.
  25. Hello World! For my friend Chris in particular. This is message #3.
  26. Hello World! For my friend Chris in particular. This is message #4.
  27. Hello World! For my friend Chris in particular. This is message #5.
  28.  
  29. [end]
  30.  
  31. Process finished with exit code 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement