Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- WildFly
- graphql
- Java Rest
- Sub Bytes
- Unchecked Exception
- Open Close Principal
- AfterMapping
- requestheaderdto
- 바이트 절삭
- try - with - resources
- Java Singleton
- java
- HandlerMethodArgumentResolver
- Checked Exception
- Jndi DataSource
- Socket is closed
- Graphql Client
- mapstruct
- 개방 폐쇄 원칙
- 데이터 압축
- NoUniqueBeanDefinitionException
- mTLS
- 상호 인증
- tomcat jndi
- 이중정렬
- Request Body 여러 번 사용
- Tomcat DBCP
- Java Graphql
- Reading HttpServletRequest Multiple Times
- Srping MVC
Archives
- Today
- Total
목록threadlocalrandom (1)
Developer Sang Guy
무작위 문자열, 바이트 배열 생성
문자열 생성 코드private static final char[] CHARS = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".toCharArray();public static String getRandomString(int length) { StringBuilder temp = new StringBuilder(length); for (int i = 0; i 효율적인 메모리 할당을 위해 StringBuilder의 초기 용량을 설정각 스레드 별로 독립적인 난수를 생성하기 위해 ThreadLocalRandom 사용 문자열 생성 결과public static void main(String[] args) { System.out..
Java
2024. 7. 22. 13:29