Advertisement
JeffGrigg

ThreadedStringBufferTest multi-threaded output 2

Sep 3rd, 2017
230
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 For my friend BobAble in particular. in particular. This is message # This is message #11..
  4.  
  5. Hello World!Hello World! For my friend For my friend BobAble in particular. in particular. This is message # This is message #2.
  6. Hello World! For my friend 2Bob. in particular.
  7. Hello World! This is message # For my friend 3Able. in particular.
  8. This is message #Hello World!3 For my friend .Bob in particular.
  9. This is message #Hello World!4 For my friend .Able
  10. in particular.Hello World! This is message # For my friend 4Bob. in particular.
  11. This is message #Hello World!5 For my friend .Able
  12. in particular. This is message #5.
  13. Hello World! For my friend Chris in particular. This is message #1.
  14. Hello World! For my friend Chris in particular. This is message #2.
  15. Hello World! For my friend Chris in particular. This is message #3.
  16. Hello World! For my friend Chris in particular. This is message #4.
  17. Hello World! For my friend Chris 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 Ed in particular. This is message #1.
  24. Hello World! For my friend Ed in particular. This is message #2.
  25. Hello World! For my friend Ed in particular. This is message #3.
  26. Hello World! For my friend Ed in particular. This is message #4.
  27. Hello World! For my friend Ed 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