사용자 도구

사이트 도구


java:random

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
java:random [2024/05/03 08:40]
kwon37xi
java:random [2024/05/03 08:40] (현재)
kwon37xi
줄 11: 줄 11:
  
 <note warning> <note warning>
-// javadoc 발췌 
- 
- 
 Instances of java.util.Random are threadsafe. However, the concurrent use of the same java.util.Random instance across threads may encounter contention and consequent poor performance. Consider instead using ThreadLocalRandom in multithreaded designs.  Instances of java.util.Random are threadsafe. However, the concurrent use of the same java.util.Random instance across threads may encounter contention and consequent poor performance. Consider instead using ThreadLocalRandom in multithreaded designs. 
 </note> </note>
java/random.txt · 마지막으로 수정됨: 2024/05/03 08:40 저자 kwon37xi